Home
last modified time | relevance | path

Searched refs:simplefilter (Results 1 – 25 of 94) sorted by relevance

1234

/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py66 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/
Dtest_file_loader.py46 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 …]
Dtest_source_encoding.py109 warnings.simplefilter('ignore', DeprecationWarning)
165 warnings.simplefilter('ignore', DeprecationWarning)
Dtest_finder.py210 warnings.simplefilter("ignore", DeprecationWarning)
226 warnings.simplefilter("ignore", DeprecationWarning)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py129 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 …]
Dtest_api.py113 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__.py38 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/
Dtest_string_literals.py116 warnings.simplefilter('always', category=DeprecationWarning)
123 warnings.simplefilter('error', category=DeprecationWarning)
165 warnings.simplefilter('always', category=DeprecationWarning)
172 warnings.simplefilter('error', category=DeprecationWarning)
Dtest_super.py178 warnings.simplefilter("always", DeprecationWarning)
249 warnings.simplefilter("always", DeprecationWarning)
264 warnings.simplefilter("always", DeprecationWarning)
273 warnings.simplefilter("error", DeprecationWarning)
Dtest_imp.py12 warnings.simplefilter('ignore', DeprecationWarning)
172 warnings.simplefilter('ignore')
177 warnings.simplefilter('ignore')
189 warnings.simplefilter('ignore')
Dtest_genericpath.py417 warnings.simplefilter("ignore", DeprecationWarning)
425 warnings.simplefilter("ignore", DeprecationWarning)
432 warnings.simplefilter("ignore", DeprecationWarning)
472 warnings.simplefilter("ignore", DeprecationWarning)
/external/python/cpython3/Lib/
Dwarnings.py165 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_/
Dtest___package__.py54 warnings.simplefilter("ignore")
66 warnings.simplefilter("ignore")
Dtest_relative_imports.py70 warnings.simplefilter("ignore")
211 warnings.simplefilter("ignore")
Dtest_fromlist.py153 warnings.simplefilter('error', BytesWarning)
163 warnings.simplefilter('error', BytesWarning)
Dtest_meta_path.py42 warnings.simplefilter('always')
/external/python/cpython2/Lib/
Dwarnings.py96 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/
Dtest_finder.py19 warnings.simplefilter('ignore', DeprecationWarning)
/external/python/cpython2/Lib/bsddb/test/
Dtest_early_close.py173 warnings.simplefilter("ignore")
190 warnings.simplefilter("ignore")
/external/python/cpython3/Lib/distutils/tests/
Dtest_extension.py58 warnings.simplefilter('always')
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py671 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/
Dtest_archive_util.py183 warnings.simplefilter("always")
197 warnings.simplefilter("always")
/external/libaom/libaom/test/
Dvisual_metrics.py35 warnings.simplefilter('ignore', np.RankWarning)
36 warnings.simplefilter('ignore', RuntimeWarning)
/external/python/cpython2/Lib/test/
Dtest_warnings.py35 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/
Dwarnings.rst263 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`.

1234