search for: set_loc

Displaying 4 results from an estimated 4 matches for "set_loc".

Did you mean: set_lock
2004 Aug 18
7
Wiki spam
Anyone know how to restore a Wiki other than manually? Nick
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...k_dom_against_dtd(self, dom): """ Check DOM again DTD. Doesn''t give as nice error messages. (no location info) """ - dtd = xmldtd.load_dtd(self.dtd) - app = xmlval.ValidatingApp(dtd, self) - app.set_locator(self) - self.dom2sax(dom, app) + try: + dtd = etree.DTD(open(self.dtd, ''r'')) + except IOError: + # The old code did neither raise an exception here, nor + # did it report an error. For now we issue a warning. + #...
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows. Example: I want to test that a certain controller is running a before_filter...thats easy: - controller.should_receive(:require_user) - do_get But now i''ve got to mock / stub
2020 Mar 13
0
Wine release 5.4
...quartz/filesource: Check if the media type is acceptable. qedit/samplegrabber: Check the filter media type also in sample_grabber_sink_query_accept(). qedit/samplegrabber: Correctly implement sample_grabber_sink_get_media_type(). d3dcompiler: Return a struct source_location from set_location(). d3dcompiler: Pass a struct source_location to hlsl_report_message(). d3dcompiler: Pass a struct source_location to add_func_parameter(). d3dcompiler: Clarify error messages related to misplaced type modifiers. d3dcompiler: Pass a struct source_location to check_inval...