/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 66 warnings.simplefilter('ignore', DeprecationWarning) 97 warnings.simplefilter('ignore', DeprecationWarning) 111 warnings.simplefilter('ignore', DeprecationWarning) 130 warnings.simplefilter('ignore', DeprecationWarning) 147 warnings.simplefilter('ignore', DeprecationWarning) 157 warnings.simplefilter('ignore', DeprecationWarning)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 46 warnings.simplefilter('ignore', DeprecationWarning) 79 warnings.simplefilter('ignore', DeprecationWarning) 92 warnings.simplefilter('ignore', DeprecationWarning) 107 warnings.simplefilter('ignore', DeprecationWarning) 123 warnings.simplefilter('ignore', DeprecationWarning) 130 warnings.simplefilter('ignore', DeprecationWarning) 157 warnings.simplefilter('ignore', DeprecationWarning) 170 warnings.simplefilter('ignore', DeprecationWarning) 184 warnings.simplefilter('ignore', DeprecationWarning) 222 warnings.simplefilter('ignore', DeprecationWarning) [all …]
|
D | test_source_encoding.py | 109 warnings.simplefilter('ignore', DeprecationWarning) 165 warnings.simplefilter('ignore', DeprecationWarning)
|
D | test_finder.py | 210 warnings.simplefilter("ignore", DeprecationWarning) 226 warnings.simplefilter("ignore", DeprecationWarning)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 129 warnings.simplefilter('ignore', DeprecationWarning) 135 warnings.simplefilter('error', DeprecationWarning) 263 warnings.simplefilter('ignore', DeprecationWarning) 305 warnings.simplefilter('ignore', DeprecationWarning) 338 warnings.simplefilter('ignore', DeprecationWarning) 346 warnings.simplefilter('ignore', DeprecationWarning) 354 warnings.simplefilter('ignore', DeprecationWarning) 590 warnings.simplefilter('ignore') 596 warnings.simplefilter('error') 617 warnings.simplefilter('ignore') [all …]
|
D | test_api.py | 113 warnings.simplefilter('ignore', DeprecationWarning) 126 warnings.simplefilter('ignore', DeprecationWarning) 142 warnings.simplefilter('ignore', DeprecationWarning) 151 warnings.simplefilter('ignore', DeprecationWarning) 161 warnings.simplefilter('ignore', DeprecationWarning) 168 warnings.simplefilter('ignore', DeprecationWarning)
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 38 module.simplefilter("once") 228 self.module.simplefilter("always", UserWarning) 297 self.module.simplefilter("ignore", UserWarning) 338 self.module.simplefilter("error", category=UserWarning) 340 self.module.simplefilter("ignore", category=UserWarning) 341 self.module.simplefilter("error", category=UserWarning) 355 self.module.simplefilter("ignore") 356 self.module.simplefilter("error", append=True) 357 self.module.simplefilter("ignore", append=True) 380 self.module.simplefilter("once") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_string_literals.py | 116 warnings.simplefilter('always', category=DeprecationWarning) 123 warnings.simplefilter('error', category=DeprecationWarning) 165 warnings.simplefilter('always', category=DeprecationWarning) 172 warnings.simplefilter('error', category=DeprecationWarning)
|
D | test_super.py | 178 warnings.simplefilter("always", DeprecationWarning) 249 warnings.simplefilter("always", DeprecationWarning) 264 warnings.simplefilter("always", DeprecationWarning) 273 warnings.simplefilter("error", DeprecationWarning)
|
D | test_imp.py | 12 warnings.simplefilter('ignore', DeprecationWarning) 172 warnings.simplefilter('ignore') 177 warnings.simplefilter('ignore') 189 warnings.simplefilter('ignore')
|
D | test_genericpath.py | 417 warnings.simplefilter("ignore", DeprecationWarning) 425 warnings.simplefilter("ignore", DeprecationWarning) 432 warnings.simplefilter("ignore", DeprecationWarning) 472 warnings.simplefilter("ignore", DeprecationWarning)
|
/external/python/cpython3/Lib/ |
D | warnings.py | 165 def simplefilter(action, category=Warning, lineno=0, append=False): function 560 simplefilter("ignore", category=DeprecationWarning, append=1) 561 simplefilter("ignore", category=PendingDeprecationWarning, append=1) 562 simplefilter("ignore", category=ImportWarning, append=1) 563 simplefilter("ignore", category=ResourceWarning, append=1)
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test___package__.py | 54 warnings.simplefilter("ignore") 66 warnings.simplefilter("ignore")
|
D | test_relative_imports.py | 70 warnings.simplefilter("ignore") 211 warnings.simplefilter("ignore")
|
D | test_fromlist.py | 153 warnings.simplefilter('error', BytesWarning) 163 warnings.simplefilter('error', BytesWarning)
|
D | test_meta_path.py | 42 warnings.simplefilter('always')
|
/external/python/cpython2/Lib/ |
D | warnings.py | 96 def simplefilter(action, category=Warning, lineno=0, append=0): function 416 simplefilter("ignore", category=cls) 424 simplefilter(bytes_action, category=BytesWarning, append=1)
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_finder.py | 19 warnings.simplefilter('ignore', DeprecationWarning)
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_early_close.py | 173 warnings.simplefilter("ignore") 190 warnings.simplefilter("ignore")
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_extension.py | 58 warnings.simplefilter('always')
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 671 warnings.simplefilter("ignore", DeprecationWarning) 1410 warnings.simplefilter("default", RuntimeWarning) 1415 warnings.simplefilter("error", RuntimeWarning) 1457 warnings.simplefilter("default", RuntimeWarning) 1463 warnings.simplefilter("error", RuntimeWarning) 1497 warnings.simplefilter("default", RuntimeWarning) 1510 warnings.simplefilter("error", RuntimeWarning) 1542 warnings.simplefilter("default", RuntimeWarning) 1555 warnings.simplefilter("error", RuntimeWarning)
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_archive_util.py | 183 warnings.simplefilter("always") 197 warnings.simplefilter("always")
|
/external/libaom/libaom/test/ |
D | visual_metrics.py | 35 warnings.simplefilter('ignore', np.RankWarning) 36 warnings.simplefilter('ignore', RuntimeWarning)
|
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 35 module.simplefilter("once") 215 self.module.simplefilter("ignore", UserWarning) 238 self.module.simplefilter("once") 757 wmod.simplefilter("always") 810 wmod.simplefilter("always")
|
/external/python/cpython3/Doc/library/ |
D | warnings.rst | 263 warnings.simplefilter("ignore") 273 warnings.simplefilter("default") # Change the filter in this process 302 warnings.simplefilter("ignore") 331 warnings.simplefilter("always") 475 .. function:: simplefilter(action, category=Warning, lineno=0, append=False) 488 and calls to :func:`simplefilter`.
|