Home
last modified time | relevance | path

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

12

/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)
119 self.module.filterwarnings("default", category=UserWarning)
135 self.module.filterwarnings("module", category=UserWarning)
147 self.module.filterwarnings("once", category=UserWarning)
163 self.module.filterwarnings("error", category=Warning)
171 self.module.filterwarnings("ignore", category=UserWarning)
172 self.module.filterwarnings("error", category=UserWarning,
186 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_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_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_sha.py8 warnings.filterwarnings("ignore", "the sha module is deprecated.*",
Dtest_md5.py3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
Dtest_syntax.py534 warnings.filterwarnings(action='ignore', category=SyntaxWarning)
Dtest_posix.py24 warnings.filterwarnings('ignore', '.* potential security risk .*',
49 warnings.filterwarnings("ignore", "", DeprecationWarning)
423 warnings.filterwarnings("ignore", "tempnam", DeprecationWarning)
432 warnings.filterwarnings("ignore", "tmpfile", DeprecationWarning)
Dtest_strop.py2 warnings.filterwarnings("ignore", "strop functions are obsolete;",
Dtest_pep352.py216 warnings.filterwarnings("error")
Dtest_xrange.py9 warnings.filterwarnings("ignore", "integer argument expected",
/external/python/cpython2/Lib/plat-mac/Carbon/
D__init__.py3 warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
4 warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor")
/external/devlib/
Dsetup.py32 warnings.filterwarnings('ignore', "Unknown distribution option: 'install_requires'")
33 warnings.filterwarnings('ignore', "Unknown distribution option: 'extras_require'")
/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/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)
/external/libmojo/third_party/jinja2/
Dsandbox.py43 warnings.filterwarnings('ignore', 'the sets module', DeprecationWarning,
/external/python/cpython2/Lib/bsddb/test/
Dtest_early_close.py17 warnings.filterwarnings('ignore',

12