Home
last modified time | relevance | path

Searched refs:check_warnings (Results 1 – 25 of 51) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_structmembers.py120 with warnings_helper.check_warnings(('', RuntimeWarning)):
124 with warnings_helper.check_warnings(('', RuntimeWarning)):
128 with warnings_helper.check_warnings(('', RuntimeWarning)):
132 with warnings_helper.check_warnings(('', RuntimeWarning)):
136 with warnings_helper.check_warnings(('', RuntimeWarning)):
140 with warnings_helper.check_warnings(('', RuntimeWarning)):
Dtest_smtpd.py722 with warnings_helper.check_warnings(('', DeprecationWarning)):
724 with warnings_helper.check_warnings(('', DeprecationWarning)):
726 with warnings_helper.check_warnings(('', DeprecationWarning)):
728 with warnings_helper.check_warnings(('', DeprecationWarning)):
730 with warnings_helper.check_warnings(('', DeprecationWarning)):
732 with warnings_helper.check_warnings(('', DeprecationWarning)):
734 with warnings_helper.check_warnings(('', DeprecationWarning)):
736 with warnings_helper.check_warnings(('', DeprecationWarning)):
738 with warnings_helper.check_warnings(('', DeprecationWarning)):
740 with warnings_helper.check_warnings(('', DeprecationWarning)):
[all …]
Dtest_lib2to3.py3 from test.support.warnings_helper import check_warnings
5 with check_warnings(("", PendingDeprecationWarning)):
Dtest_global.py4 from test.support.warnings_helper import check_warnings
12 self._warnings_manager = check_warnings()
Dtest_pkgutil.py2 from test.support.warnings_helper import check_warnings
499 return check_warnings(
513 with check_warnings() as w:
525 with check_warnings() as w:
564 with check_warnings() as w:
572 with check_warnings() as w:
577 with check_warnings() as w:
Dtest___all__.py19 with warnings_helper.check_warnings(
35 with warnings_helper.check_warnings(
Dtest_distutils.py12 with warnings_helper.check_warnings(
Dtest_sundry.py13 with warnings_helper.check_warnings(quiet=True):
Dtest_binhex.py13 with warnings_helper.check_warnings(('', DeprecationWarning)):
Dtest_locale.py3 from test.support.warnings_helper import check_warnings
149 with check_warnings(('', DeprecationWarning)):
238 with check_warnings(('', DeprecationWarning)):
Dtest_fileio.py14 from test.support.warnings_helper import check_warnings
552 with check_warnings(quiet=True) as w:
601 with check_warnings(quiet=True) as w:
Dtest_support.py186 with warnings_helper.check_warnings() as recorder:
259 with warnings_helper.check_warnings() as recorder:
277 with warnings_helper.check_warnings() as recorder:
Dtest_sysconfig.py12 from test.support.warnings_helper import check_warnings
403 with check_warnings(('', DeprecationWarning)):
Dtest_codeop.py312 with warnings_helper.check_warnings(
Dtest_urllib2_localnet.py570 with warnings_helper.check_warnings(('', DeprecationWarning)):
588 with warnings_helper.check_warnings(('', DeprecationWarning)):
Dtest_genericpath.py497 with warnings_helper.check_warnings(('', BytesWarning), quiet=True):
517 with warnings_helper.check_warnings(
Dtest_ssl.py386 with warnings_helper.check_warnings():
398 with warnings_helper.check_warnings():
559 with warnings_helper.check_warnings(("", ResourceWarning)):
1142 with warnings_helper.check_warnings():
1145 with warnings_helper.check_warnings():
1188 with warnings_helper.check_warnings():
1191 with warnings_helper.check_warnings():
1199 with warnings_helper.check_warnings():
1718 with warnings_helper.check_warnings():
1724 with warnings_helper.check_warnings():
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_bdist_msi.py5 from test.support.warnings_helper import check_warnings
18 with check_warnings(("", DeprecationWarning)):
Dtest_extension.py7 from test.support.warnings_helper import check_warnings
58 with check_warnings() as w:
Dtest_archive_util.py18 from test.support.warnings_helper import check_warnings
214 with check_warnings() as w:
228 with check_warnings() as w:
Dtest_sysconfig.py15 from test.support.warnings_helper import check_warnings
239 with check_warnings(('', DeprecationWarning)):
Dtest_register.py9 from test.support.warnings_helper import check_warnings
293 with check_warnings() as w:
Dtest_sdist.py10 from test.support.warnings_helper import check_warnings
274 with check_warnings() as w:
/third_party/python/Lib/test/support/
Dwarnings_helper.py78 def check_warnings(*filters, **kwargs): function
/third_party/python/Lib/test/test_warnings/
D__init__.py1102 with warnings_helper.check_warnings(quiet=False) as w:
1114 with warnings_helper.check_warnings():
1117 with warnings_helper.check_warnings(('foo', UserWarning)):
1121 with warnings_helper.check_warnings(('', RuntimeWarning)):
1125 with warnings_helper.check_warnings(('foo', RuntimeWarning)):

123