Searched refs:filterwarnings (Results 1 - 25 of 69) sorted by relevance

123

/external/python/cpython2/Lib/plat-mac/Carbon/
H A D__init__.py3 warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
4 warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor")
/external/python/cpython3/Lib/test/
H A Dtest_global.py13 warnings.filterwarnings("error", module="<test string>")
57 warnings.filterwarnings("error", module="<test string>")
H A Dtest_syntax.py586 warnings.filterwarnings(action='ignore', category=SyntaxWarning)
H A Dtest_platform.py264 warnings.filterwarnings(
340 warnings.filterwarnings(
/external/python/cpython2/Lib/test/
H A Dtest_global.py48 warnings.filterwarnings("error", module="<test string>")
H A Dtest_sha.py8 warnings.filterwarnings("ignore", "the sha module is deprecated.*",
H A Dtest_pep247.py7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*',
9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
H A Dtest_md5.py3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
H A Dtest_syntax.py534 warnings.filterwarnings(action='ignore', category=SyntaxWarning)
H A Dtest_warnings.py74 "formatwarning", "filterwarnings", "simplefilter",
92 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("erro
[all...]
H A Dtest_popen2.py4 warnings.filterwarnings("ignore", ".*popen2 module is deprecated.*",
6 warnings.filterwarnings("ignore", "os\.popen. is deprecated.*",
H A Dtest_userstring.py136 warnings.filterwarnings("ignore", ".*MutableString has been removed",
138 warnings.filterwarnings("ignore",
H A 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",
H A 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)
/external/devlib/
H A Dsetup.py32 warnings.filterwarnings('ignore', "Unknown distribution option: 'install_requires'")
33 warnings.filterwarnings('ignore', "Unknown distribution option: 'extras_require'")
/external/python/cpython3/Lib/test/test_warnings/
H A D__init__.py81 "formatwarning", "filterwarnings", "simplefilter",
99 self.module.filterwarnings("error", category=UserWarning)
118 self.module.filterwarnings("error", category=UserWarning)
125 self.module.filterwarnings("ignore", category=UserWarning)
137 self.module.filterwarnings("ignore", category=UserWarning)
146 self.module.filterwarnings("always", category=UserWarning)
165 self.module.filterwarnings("always", category=UserWarning)
177 self.module.filterwarnings("default", category=UserWarning)
193 self.module.filterwarnings("module", category=UserWarning)
205 self.module.filterwarnings("onc
[all...]
/external/python/cpython2/Lib/
H A DBaseHTTPServer.py76 from warnings import filterwarnings, catch_warnings namespace
79 filterwarnings("ignore", ".*mimetools has been removed",
H A Dasynchat.py54 from warnings import filterwarnings, catch_warnings namespace
230 filterwarnings("ignore", ".*buffer", DeprecationWarning)
H A Dmimetools.py7 from warnings import filterwarnings, catch_warnings namespace
10 filterwarnings("ignore", ".*rfc822 has been removed", DeprecationWarning)
H A Dwarnings.py11 "formatwarning", "filterwarnings", "simplefilter",
67 def filterwarnings(action, message="", category=Warning, module="", lineno=0, function
157 filterwarnings(action, message, category, module, lineno)
H A Dcgi.py43 from warnings import filterwarnings, catch_warnings, warn namespace
46 filterwarnings("ignore", ".*mimetools has been removed",
48 filterwarnings("ignore", ".*rfc822 has been removed",
/external/ply/ply/test/
H A Dtestyacc.py91 warnings.filterwarnings('ignore', category=ResourceWarning)
92 warnings.filterwarnings('ignore', category=DeprecationWarning)
/external/python/cpython3/Lib/
H A Dwarnings.py7 "formatwarning", "filterwarnings", "simplefilter",
119 def filterwarnings(action, message="", category=Warning, module="", lineno=0, function
215 filterwarnings(action, message, category, module, lineno)
/external/libmojo/third_party/jinja2/
H A Dsandbox.py43 warnings.filterwarnings('ignore', 'the sets module', DeprecationWarning,
/external/python/cpython2/Lib/bsddb/test/
H A Dtest_early_close.py17 warnings.filterwarnings('ignore',

Completed in 677 milliseconds

123