Home
last modified time | relevance | path

Searched refs:catch_warnings (Results 1 - 25 of 95) sorted by relevance

1234

/third_party/python/Lib/test/test_warnings/
H A D__init__.py74 # module than warnings.catch_warnings(). Otherwise,
75 # warnings.catch_warnings() will be unable to remove the added filter.
94 "resetwarnings", "catch_warnings"]
109 with original_warnings.catch_warnings(module=self.module) as w:
116 with original_warnings.catch_warnings(module=self.module) as w:
134 with original_warnings.catch_warnings(record=True,
143 with original_warnings.catch_warnings(record=True,
156 with original_warnings.catch_warnings(record=True,
171 with original_warnings.catch_warnings(record=True,
191 with original_warnings.catch_warnings(recor
[all...]
/third_party/python/Lib/test/test_importlib/import_/
H A Dtest___package__.py53 with warnings.catch_warnings():
65 with warnings.catch_warnings():
102 with warnings.catch_warnings():
107 with warnings.catch_warnings():
169 with warnings.catch_warnings():
174 with warnings.catch_warnings():
179 with warnings.catch_warnings():
H A Dtest_api.py105 with warnings.catch_warnings():
110 with warnings.catch_warnings():
115 with warnings.catch_warnings():
120 with warnings.catch_warnings():
125 with warnings.catch_warnings():
130 with warnings.catch_warnings():
H A Dtest_path.py77 with warnings.catch_warnings(record=True) as w:
127 with warnings.catch_warnings():
134 with warnings.catch_warnings():
147 with warnings.catch_warnings():
154 with warnings.catch_warnings():
231 with warnings.catch_warnings():
273 with warnings.catch_warnings():
293 with warnings.catch_warnings():
H A Dtest_caching.py67 with warnings.catch_warnings():
77 with warnings.catch_warnings():
89 with warnings.catch_warnings():
H A Dtest_meta_path.py41 with warnings.catch_warnings(record=True) as w:
106 with warnings.catch_warnings():
111 with warnings.catch_warnings():
H A Dtest___loader__.py49 with warnings.catch_warnings():
63 with warnings.catch_warnings():
H A Dtest_relative_imports.py69 with warnings.catch_warnings():
211 with warnings.catch_warnings():
H A Dtest_fromlist.py152 warnings.catch_warnings():
162 warnings.catch_warnings():
/third_party/python/Lib/test/support/
H A Dwarnings_helper.py11 with warnings.catch_warnings():
20 with warnings.catch_warnings(record=True) as warns:
38 with warnings.catch_warnings(record=True) as warns:
55 with warnings.catch_warnings():
64 entry to the warnings.catch_warnings() context manager.
124 with warnings.catch_warnings(record=True) as warns:
163 with warnings.catch_warnings(record=True) as w:
/third_party/python/Lib/test/
H A Dtest_string_literals.py115 with warnings.catch_warnings(record=True) as w:
123 with warnings.catch_warnings(record=True) as w:
139 with warnings.catch_warnings(record=True) as w:
148 with warnings.catch_warnings(record=True) as w:
192 with warnings.catch_warnings(record=True) as w:
200 with warnings.catch_warnings(record=True) as w:
215 with warnings.catch_warnings(record=True) as w:
224 with warnings.catch_warnings(record=True) as w:
H A Dtest_codeop.py320 with warnings.catch_warnings(), self.assertRaises(SyntaxError):
325 with warnings.catch_warnings(), self.assertRaises(SyntaxError):
330 with warnings.catch_warnings(record=True) as w:
336 with warnings.catch_warnings(record=True) as w:
H A Dtest_nis.py8 with warnings.catch_warnings():
H A Dtest_global.py52 unittest.enterModuleContext(warnings.catch_warnings())
/third_party/python/Lib/
H A Daifc.py258 with warnings.catch_warnings():
456 with warnings.catch_warnings():
462 with warnings.catch_warnings():
468 with warnings.catch_warnings():
478 with warnings.catch_warnings():
787 with warnings.catch_warnings():
793 with warnings.catch_warnings():
799 with warnings.catch_warnings():
808 with warnings.catch_warnings():
/third_party/python/Lib/test/test_importlib/builtin/
H A Dtest_finder.py54 with warnings.catch_warnings():
68 with warnings.catch_warnings():
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_file_loader.py44 with warnings.catch_warnings():
77 with warnings.catch_warnings():
90 with warnings.catch_warnings():
105 with warnings.catch_warnings():
121 with warnings.catch_warnings():
128 with warnings.catch_warnings():
155 with warnings.catch_warnings():
168 with warnings.catch_warnings():
182 with warnings.catch_warnings():
220 with warnings.catch_warnings()
[all...]
H A Dtest_source_encoding.py108 with warnings.catch_warnings():
164 with warnings.catch_warnings():
H A Dtest_finder.py199 with warnings.catch_warnings():
215 with warnings.catch_warnings():
/third_party/python/Lib/test/test_importlib/
H A Dtest_windows.py98 with warnings.catch_warnings():
105 with warnings.catch_warnings():
114 with warnings.catch_warnings():
H A Dtest_util.py130 with warnings.catch_warnings():
136 with warnings.catch_warnings():
264 with warnings.catch_warnings():
306 with warnings.catch_warnings():
339 with warnings.catch_warnings():
347 with warnings.catch_warnings():
355 with warnings.catch_warnings():
591 with warnings.catch_warnings():
597 with warnings.catch_warnings():
618 with warnings.catch_warnings()
[all...]
H A Dtest_api.py114 with warnings.catch_warnings():
127 with warnings.catch_warnings():
143 with warnings.catch_warnings():
152 with warnings.catch_warnings():
163 with warnings.catch_warnings():
171 with warnings.catch_warnings():
H A Dtest_abc.py223 with warnings.catch_warnings():
465 with warnings.catch_warnings():
482 with warnings.catch_warnings():
596 with warnings.catch_warnings():
848 with warnings.catch_warnings():
851 with warnings.catch_warnings():
862 with warnings.catch_warnings():
866 with warnings.catch_warnings():
/third_party/python/Lib/test/test_importlib/extension/
H A Dtest_loader.py1 from warnings import catch_warnings namespace
31 with warnings.catch_warnings():
37 with warnings.catch_warnings():
116 with warnings.catch_warnings():
/third_party/python/Lib/lib2to3/tests/
H A D__init__.py9 with warnings.catch_warnings():

Completed in 13 milliseconds

1234