Home
last modified time | relevance | path

Searched refs:check_warnings (Results 1 - 25 of 44) sorted by relevance

12

/third_party/python/Lib/test/test_capi/
H A 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)):
/third_party/python/Lib/test/
H A Dtest_lib2to3.py3 from test.support.warnings_helper import check_warnings namespace
5 with check_warnings(("", DeprecationWarning)):
H A Dtest_global.py4 from test.support.warnings_helper import check_warnings namespace
12 self.enterContext(check_warnings())
H A Dtest_smtpd.py723 with warnings_helper.check_warnings(('', DeprecationWarning)):
725 with warnings_helper.check_warnings(('', DeprecationWarning)):
727 with warnings_helper.check_warnings(('', DeprecationWarning)):
729 with warnings_helper.check_warnings(('', DeprecationWarning)):
731 with warnings_helper.check_warnings(('', DeprecationWarning)):
733 with warnings_helper.check_warnings(('', DeprecationWarning)):
735 with warnings_helper.check_warnings(('', DeprecationWarning)):
737 with warnings_helper.check_warnings(('', DeprecationWarning)):
739 with warnings_helper.check_warnings(('', DeprecationWarning)):
741 with warnings_helper.check_warnings(('', DeprecationWarnin
[all...]
H A Dtest_pkgutil.py3 from test.support.warnings_helper import check_warnings namespace
539 return check_warnings(
553 with check_warnings() as w:
565 with check_warnings() as w:
604 with check_warnings() as w:
612 with check_warnings() as w:
623 with check_warnings() as w:
H A Dtest___all__.py43 with warnings_helper.check_warnings(
60 with warnings_helper.check_warnings(
H A Dtest_distutils.py12 with warnings_helper.check_warnings(
H A Dtest_locale.py3 from test.support.warnings_helper import check_warnings namespace
149 with check_warnings(('', DeprecationWarning)):
238 with check_warnings(('', DeprecationWarning)):
529 with check_warnings(('', DeprecationWarning)):
H A Dtest_sundry.py11 with warnings_helper.check_warnings(quiet=True):
H A Dtest_support.py189 with warnings_helper.check_warnings() as recorder:
262 with warnings_helper.check_warnings() as recorder:
280 with warnings_helper.check_warnings() as recorder:
707 # check_warnings
H A Dtest_fileio.py18 from test.support.warnings_helper import check_warnings namespace
554 with check_warnings(quiet=True) as w:
603 with check_warnings(quiet=True) as w:
H A Dtest_codeop.py312 with warnings_helper.check_warnings(
H A Dtest_genericpath.py505 with warnings_helper.check_warnings(('', BytesWarning), quiet=True):
525 with warnings_helper.check_warnings(
H A Dtest_urllib2_localnet.py573 with warnings_helper.check_warnings(('', DeprecationWarning)):
591 with warnings_helper.check_warnings(('', DeprecationWarning)):
H A Dtest_urllib.py60 with warnings_helper.check_warnings(
597 with warnings_helper.check_warnings(('',DeprecationWarning)):
603 with warnings_helper.check_warnings(('', DeprecationWarning)):
1579 with warnings_helper.check_warnings(
H A Dtest_ssl.py388 with warnings_helper.check_warnings():
400 with warnings_helper.check_warnings():
561 with warnings_helper.check_warnings(("", ResourceWarning)):
1150 with warnings_helper.check_warnings():
1153 with warnings_helper.check_warnings():
1207 with warnings_helper.check_warnings():
1210 with warnings_helper.check_warnings():
1218 with warnings_helper.check_warnings():
1736 with warnings_helper.check_warnings():
1742 with warnings_helper.check_warnings()
[all...]
H A Dtest_sysconfig.py14 from test.support.warnings_helper import check_warnings namespace
H A Dtest_httplib.py1958 with warnings_helper.check_warnings(('', DeprecationWarning)):
1965 with warnings_helper.check_warnings(('', DeprecationWarning)):
1984 with warnings_helper.check_warnings(('', DeprecationWarning)):
/third_party/python/Lib/distutils/tests/
H A Dtest_extension.py7 from test.support.warnings_helper import check_warnings namespace
58 with check_warnings() as w:
H A Dtest_archive_util.py18 from test.support.warnings_helper import check_warnings namespace
214 with check_warnings() as w:
228 with check_warnings() as w:
H A Dtest_register.py9 from test.support.warnings_helper import check_warnings namespace
293 with check_warnings() as w:
H A Dtest_sdist.py10 from test.support.warnings_helper import check_warnings namespace
274 with check_warnings() as w:
H A Dtest_sysconfig.py15 from test.support.warnings_helper import check_warnings namespace
/third_party/python/Lib/test/test_warnings/
H A D__init__.py1128 with warnings_helper.check_warnings(quiet=False) as w:
1140 with warnings_helper.check_warnings():
1143 with warnings_helper.check_warnings(('foo', UserWarning)):
1147 with warnings_helper.check_warnings(('', RuntimeWarning)):
1151 with warnings_helper.check_warnings(('foo', RuntimeWarning)):
1261 with warnings_helper.check_warnings(filter, quiet=False):
1267 with warnings_helper.check_warnings((msg, DeprecationWarning), quiet=False):
/third_party/python/Lib/test/support/
H A Dwarnings_helper.py86 def check_warnings(*filters, **kwargs): function
98 check_warnings(("", Warning), quiet=True)

Completed in 33 milliseconds

12