Searched refs:check_warnings (Results 1 – 25 of 37) sorted by relevance
12
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_structmembers.py | 80 with test_support.check_warnings(('', RuntimeWarning)): 84 with test_support.check_warnings(('', RuntimeWarning)): 88 with test_support.check_warnings(('', RuntimeWarning)): 92 with test_support.check_warnings(('', RuntimeWarning)): 96 with test_support.check_warnings(('', RuntimeWarning)): 100 with test_support.check_warnings(('', RuntimeWarning)):
|
D | test_ascii_formatd.py | 6 from test.test_support import check_warnings, run_unittest, import_module 20 with check_warnings(('PyOS_ascii_formatd is deprecated', 46 with check_warnings(('PyOS_ascii_formatd is deprecated',
|
D | test_commands.py | 9 check_warnings 63 with check_warnings((".*commands.getstatus.. is deprecated",
|
D | test_cookie.py | 3 from test.test_support import run_unittest, run_doctest, check_warnings 93 with check_warnings(('.+Cookie class is insecure; do not use it',
|
D | test_pep352.py | 5 from test.test_support import run_unittest, check_warnings 24 with check_warnings(*_deprecations, quiet=True): 141 with check_warnings(("", DeprecationWarning)):
|
D | test_coercion.py | 3 from test.test_support import run_unittest, TestFailed, check_warnings 226 with check_warnings(("classic (int|long) division", DeprecationWarning), 341 with check_warnings(("complex divmod.., // and % are deprecated",
|
D | test_cgi.py | 1 from test.test_support import run_unittest, check_warnings 343 with check_warnings(('cgi.parse_qs is deprecated, use urlparse.' 350 with check_warnings(('cgi.parse_qsl is deprecated, use urlparse.'
|
D | test_import.py | 10 is_jython, check_warnings, EnvironmentVarGuard) 245 with check_warnings(('', ImportWarning)): 429 with check_warnings(('.+foo', RuntimeWarning)): 435 with check_warnings(('.+foo', RuntimeWarning)):
|
D | test_sundry.py | 10 with test_support.check_warnings(quiet=True):
|
D | test_macostools.py | 50 with test_support.check_warnings(('macostools.touched*',
|
D | test___all__.py | 26 with support.check_warnings((".* (module|package)",
|
D | test_doctest.py | 2596 with test_support.check_warnings(*deprecations):
|
D | test_struct.py | 6 from test.test_support import run_unittest, check_warnings, check_py3k_warnings 38 with check_warnings((".*integer argument expected, got float", 318 with check_warnings(("integer argument expected, " 327 with check_warnings((".*integer argument expected, got non"
|
D | test_exceptions.py | 9 check_warnings, cpython_only) 312 with check_warnings(("BaseException.message has been deprecated " 322 with check_warnings(quiet=True) as w:
|
D | test_warnings.py | 661 with test_support.check_warnings(quiet=False) as w: 673 with test_support.check_warnings(): 676 with test_support.check_warnings(('foo', UserWarning)): 680 with test_support.check_warnings(('', RuntimeWarning)): 684 with test_support.check_warnings(('foo', RuntimeWarning)):
|
D | test_scope.py | 3 check_warnings, run_unittest 659 with check_warnings(("import \* only allowed at module level",
|
D | test_fileio.py | 13 from test.test_support import TESTFN, check_warnings, run_unittest, make_bad_fd 397 with check_warnings(quiet=True) as w:
|
D | test_xml_etree.py | 1849 self.checkwarnings = test_support.check_warnings(*deprecations,
|
D | test_zipimport_support.py | 178 with test.test_support.check_warnings(*deprecations):
|
D | test_symtable.py | 46 with test_support.check_warnings(
|
D | test_importhooks.py | 244 with test_support.check_warnings(("The compiler package is deprecated "
|
D | test_contextlib.py | 320 with test_support.check_warnings(("With-statements now directly support "
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_archive_util.py | 15 from test.test_support import check_warnings, run_unittest 165 with check_warnings() as w: 179 with check_warnings() as w:
|
D | test_register.py | 10 from test.test_support import check_warnings, run_unittest 252 with check_warnings() as w:
|
D | test_sdist.py | 27 from test.test_support import captured_stdout, check_warnings, run_unittest 264 with check_warnings() as w:
|
12