Searched refs:catch_warnings (Results 1 – 25 of 95) sorted by relevance
1234
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 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(record=True, 207 with original_warnings.catch_warnings(record=True, 219 with original_warnings.catch_warnings(record=True, 236 with original_warnings.catch_warnings(record=True, [all …]
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test___package__.py | 53 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():
|
D | test_api.py | 105 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():
|
D | test_path.py | 77 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(): 220 with warnings.catch_warnings(): 262 with warnings.catch_warnings(): 282 with warnings.catch_warnings():
|
D | test_caching.py | 67 with warnings.catch_warnings(): 77 with warnings.catch_warnings(): 89 with warnings.catch_warnings():
|
D | test_meta_path.py | 41 with warnings.catch_warnings(record=True) as w: 106 with warnings.catch_warnings(): 111 with warnings.catch_warnings():
|
D | test___loader__.py | 49 with warnings.catch_warnings(): 63 with warnings.catch_warnings():
|
D | test_relative_imports.py | 69 with warnings.catch_warnings(): 211 with warnings.catch_warnings():
|
D | test_fromlist.py | 152 warnings.catch_warnings(): 162 warnings.catch_warnings():
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 65 with warnings.catch_warnings(): 96 with warnings.catch_warnings(): 110 with warnings.catch_warnings(): 129 with warnings.catch_warnings(): 146 with warnings.catch_warnings(): 156 with warnings.catch_warnings(): 167 with warnings.catch_warnings():
|
/third_party/python/Lib/test/support/ |
D | warnings_helper.py | 12 with warnings.catch_warnings(record=True) as warns: 30 with warnings.catch_warnings(record=True) as warns: 47 with warnings.catch_warnings(): 116 with warnings.catch_warnings(record=True) as warns: 155 with warnings.catch_warnings(record=True) as w:
|
/third_party/python/Lib/test/test_importlib/builtin/ |
D | test_finder.py | 62 with warnings.catch_warnings(): 76 with warnings.catch_warnings(): 84 with warnings.catch_warnings():
|
/third_party/python/Lib/ |
D | gettext.py | 283 with warnings.catch_warnings(): 305 with warnings.catch_warnings(): 615 with warnings.catch_warnings(): 678 with warnings.catch_warnings(): 684 with warnings.catch_warnings(): 706 with warnings.catch_warnings(): 716 with warnings.catch_warnings(): 748 with warnings.catch_warnings(): 760 with warnings.catch_warnings():
|
/third_party/python/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 45 with warnings.catch_warnings(): 78 with warnings.catch_warnings(): 91 with warnings.catch_warnings(): 106 with warnings.catch_warnings(): 122 with warnings.catch_warnings(): 129 with warnings.catch_warnings(): 156 with warnings.catch_warnings(): 169 with warnings.catch_warnings(): 183 with warnings.catch_warnings(): 221 with warnings.catch_warnings(): [all …]
|
D | test_source_encoding.py | 108 with warnings.catch_warnings(): 164 with warnings.catch_warnings():
|
D | test_finder.py | 209 with warnings.catch_warnings(): 225 with warnings.catch_warnings():
|
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 129 with warnings.catch_warnings(): 135 with warnings.catch_warnings(): 263 with warnings.catch_warnings(): 305 with warnings.catch_warnings(): 338 with warnings.catch_warnings(): 346 with warnings.catch_warnings(): 354 with warnings.catch_warnings(): 590 with warnings.catch_warnings(): 596 with warnings.catch_warnings(): 617 with warnings.catch_warnings(): [all …]
|
D | test_api.py | 114 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():
|
D | test_windows.py | 88 with warnings.catch_warnings(): 95 with warnings.catch_warnings(): 104 with warnings.catch_warnings():
|
D | test_abc.py | 223 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/ |
D | test_loader.py | 1 from warnings import catch_warnings 25 with warnings.catch_warnings(): 31 with warnings.catch_warnings(): 104 with warnings.catch_warnings():
|
/third_party/python/Lib/test/ |
D | test_string_literals.py | 115 with warnings.catch_warnings(record=True) as w: 122 with warnings.catch_warnings(record=True) as w: 165 with warnings.catch_warnings(record=True) as w: 172 with warnings.catch_warnings(record=True) as w:
|
D | test_imp.py | 13 with warnings.catch_warnings(): 173 with warnings.catch_warnings(): 178 with warnings.catch_warnings(): 190 with warnings.catch_warnings():
|
D | test_global.py | 57 cm = warnings.catch_warnings()
|
/third_party/python/Doc/library/ |
D | warnings.rst | 294 the warning using the :class:`catch_warnings` context manager:: 301 with warnings.catch_warnings(): 309 application. If two or more threads use the :class:`catch_warnings` context 319 To test warnings raised by code, use the :class:`catch_warnings` context 329 with warnings.catch_warnings(record=True) as w: 350 application. If two or more threads use the :class:`catch_warnings` context 494 .. class:: catch_warnings(*, record=False, module=None) 512 The :class:`catch_warnings` manager works by replacing and
|
1234