/third_party/python/Lib/test/test_capi/ |
H A D | test_structmembers.py | 120 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 D | test_lib2to3.py | 3 from test.support.warnings_helper import check_warnings namespace 5 with check_warnings(("", DeprecationWarning)):
|
H A D | test_global.py | 4 from test.support.warnings_helper import check_warnings namespace 12 self.enterContext(check_warnings())
|
H A D | test_smtpd.py | 723 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 D | test_pkgutil.py | 3 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 D | test___all__.py | 43 with warnings_helper.check_warnings( 60 with warnings_helper.check_warnings(
|
H A D | test_distutils.py | 12 with warnings_helper.check_warnings(
|
H A D | test_locale.py | 3 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 D | test_sundry.py | 11 with warnings_helper.check_warnings(quiet=True):
|
H A D | test_support.py | 189 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 D | test_fileio.py | 18 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 D | test_codeop.py | 312 with warnings_helper.check_warnings(
|
H A D | test_genericpath.py | 505 with warnings_helper.check_warnings(('', BytesWarning), quiet=True): 525 with warnings_helper.check_warnings(
|
H A D | test_urllib2_localnet.py | 573 with warnings_helper.check_warnings(('', DeprecationWarning)): 591 with warnings_helper.check_warnings(('', DeprecationWarning)):
|
H A D | test_urllib.py | 60 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 D | test_ssl.py | 388 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 D | test_sysconfig.py | 14 from test.support.warnings_helper import check_warnings namespace
|
H A D | test_httplib.py | 1958 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 D | test_extension.py | 7 from test.support.warnings_helper import check_warnings namespace 58 with check_warnings() as w:
|
H A D | test_archive_util.py | 18 from test.support.warnings_helper import check_warnings namespace 214 with check_warnings() as w: 228 with check_warnings() as w:
|
H A D | test_register.py | 9 from test.support.warnings_helper import check_warnings namespace 293 with check_warnings() as w:
|
H A D | test_sdist.py | 10 from test.support.warnings_helper import check_warnings namespace 274 with check_warnings() as w:
|
H A D | test_sysconfig.py | 15 from test.support.warnings_helper import check_warnings namespace
|
/third_party/python/Lib/test/test_warnings/ |
H A D | __init__.py | 1128 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 D | warnings_helper.py | 86 def check_warnings(*filters, **kwargs): function 98 check_warnings(("", Warning), quiet=True)
|