Home
last modified time | relevance | path

Searched refs:filterwarnings (Results 1 – 25 of 85) sorted by relevance

1234

/external/python/cpython3/Lib/test/test_warnings/
D__init__.py101 self.module.filterwarnings("error", category=UserWarning)
120 self.module.filterwarnings("error", category=UserWarning)
127 self.module.filterwarnings("ignore", category=UserWarning)
140 self.module.filterwarnings("ignore", category=UserWarning)
149 self.module.filterwarnings("always", category=UserWarning)
172 self.module.filterwarnings("always", category=UserWarning)
184 self.module.filterwarnings("default", category=UserWarning)
200 self.module.filterwarnings("module", category=UserWarning)
212 self.module.filterwarnings("once", category=UserWarning)
249 self.module.filterwarnings("error", category=Warning)
[all …]
/external/python/cpython2/Lib/test/
Dtest_warnings.py92 self.module.filterwarnings("error", category=UserWarning)
100 self.module.filterwarnings("ignore", category=UserWarning)
108 self.module.filterwarnings("always", category=UserWarning)
123 self.module.filterwarnings("default", category=UserWarning)
139 self.module.filterwarnings("module", category=UserWarning)
151 self.module.filterwarnings("once", category=UserWarning)
167 self.module.filterwarnings("error", category=Warning)
175 self.module.filterwarnings("ignore", category=UserWarning)
176 self.module.filterwarnings("error", category=UserWarning,
190 self.module.filterwarnings("error", "", Warning, "", 0)
[all …]
Dtest_pep247.py7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*',
9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
Dtest_userstring.py136 warnings.filterwarnings("ignore", ".*MutableString has been removed",
138 warnings.filterwarnings("ignore",
Dtest_py3kwarn.py376 warnings.filterwarnings("error", ".+ (module|package) .+ removed",
378 warnings.filterwarnings("error", ".+ removed .+ (module|package)",
428 warnings.filterwarnings("error", "reduce")
437 warnings.filterwarnings("error", ".*MutableString",
Dtest_popen2.py4 warnings.filterwarnings("ignore", ".*popen2 module is deprecated.*",
6 warnings.filterwarnings("ignore", "os\.popen. is deprecated.*",
Dtest_global.py48 warnings.filterwarnings("error", module="<test string>")
Dtest_os.py25 warnings.filterwarnings("ignore", "tempnam", RuntimeWarning, __name__)
26 warnings.filterwarnings("ignore", "tmpnam", RuntimeWarning, __name__)
91 warnings.filterwarnings("ignore", "tempnam", RuntimeWarning,
93 warnings.filterwarnings("ignore", "tempnam", DeprecationWarning)
120 warnings.filterwarnings("ignore", "tmpfile", DeprecationWarning)
156 warnings.filterwarnings("ignore", "tmpnam", RuntimeWarning,
158 warnings.filterwarnings("ignore", "tmpnam", DeprecationWarning)
Dtest_sha.py8 warnings.filterwarnings("ignore", "the sha module is deprecated.*",
Dtest_md5.py3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
Dtest_buffer.py44 warnings.filterwarnings('ignore', ".*buffer", DeprecationWarning)
Dtest_posix.py24 warnings.filterwarnings('ignore', '.* potential security risk .*',
49 warnings.filterwarnings("ignore", "", DeprecationWarning)
428 warnings.filterwarnings("ignore", "tempnam", DeprecationWarning)
437 warnings.filterwarnings("ignore", "tmpfile", DeprecationWarning)
/external/python/cpython2/Lib/plat-mac/Carbon/
D__init__.py3 warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
4 warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor")
/external/python/cpython3/Lib/test/
Dtest_global.py13 warnings.filterwarnings("error", module="<test string>")
57 warnings.filterwarnings("error", module="<test string>")
Dtest_platform.py270 warnings.filterwarnings(
388 warnings.filterwarnings(
/external/python/cpython2/Lib/
Dasynchat.py54 from warnings import filterwarnings, catch_warnings
230 filterwarnings("ignore", ".*buffer", DeprecationWarning)
Dmimetools.py7 from warnings import filterwarnings, catch_warnings
10 filterwarnings("ignore", ".*rfc822 has been removed", DeprecationWarning)
DBaseHTTPServer.py76 from warnings import filterwarnings, catch_warnings
79 filterwarnings("ignore", ".*mimetools has been removed",
Dwarnings.py67 def filterwarnings(action, message="", category=Warning, module="", lineno=0, function
157 filterwarnings(action, message, category, module, lineno)
Dcgi.py43 from warnings import filterwarnings, catch_warnings, warn
46 filterwarnings("ignore", ".*mimetools has been removed",
48 filterwarnings("ignore", ".*rfc822 has been removed",
/external/python/cpython3/Lib/
Dwarnings.py130 def filterwarnings(action, message="", category=Warning, module="", lineno=0, function
237 filterwarnings(action, message, category, module, lineno)
558 filterwarnings("default", category=DeprecationWarning,
/external/fonttools/
Dsetup.cfg52 filterwarnings =
/external/python/cpython3/Doc/library/
Dwarnings.rst35 added to the filter by calling :func:`filterwarnings` and reset to its default
221 variable and calls to :func:`filterwarnings`.
282 warnings.filterwarnings("default", category=DeprecationWarning,
463 .. function:: filterwarnings(action, message='', category=Warning, module='', lineno=0, append=Fals…
479 :func:`filterwarnings`, but regular expressions are not needed as the filter
487 :func:`filterwarnings`, including that of the :option:`-W` command line options
/external/python/cpython2/Doc/library/
Dwarnings.rst38 added to the filter by calling :func:`filterwarnings` and reset to its default
171 :func:`filterwarnings`.
368 .. function:: filterwarnings(action[, message[, category[, module[, lineno[, append]]]]])
384 :func:`filterwarnings`, but regular expressions are not needed as the filter
392 :func:`filterwarnings`, including that of the :option:`-W` command line options
/external/ply/ply/test/
Dtestyacc.py91 warnings.filterwarnings('ignore', category=ResourceWarning)
92 warnings.filterwarnings('ignore', category=DeprecationWarning)

1234