Home
last modified time | relevance | path

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/
Dtest_structmembers.py80 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)):
Dtest_ascii_formatd.py6 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',
Dtest_commands.py9 check_warnings
63 with check_warnings((".*commands.getstatus.. is deprecated",
Dtest_cookie.py3 from test.test_support import run_unittest, run_doctest, check_warnings
93 with check_warnings(('.+Cookie class is insecure; do not use it',
Dtest_pep352.py5 from test.test_support import run_unittest, check_warnings
24 with check_warnings(*_deprecations, quiet=True):
141 with check_warnings(("", DeprecationWarning)):
Dtest_coercion.py3 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",
Dtest_cgi.py1 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.'
Dtest_import.py10 is_jython, check_warnings, EnvironmentVarGuard)
245 with check_warnings(('', ImportWarning)):
429 with check_warnings(('.+foo', RuntimeWarning)):
435 with check_warnings(('.+foo', RuntimeWarning)):
Dtest_sundry.py10 with test_support.check_warnings(quiet=True):
Dtest_macostools.py50 with test_support.check_warnings(('macostools.touched*',
Dtest___all__.py26 with support.check_warnings((".* (module|package)",
Dtest_doctest.py2596 with test_support.check_warnings(*deprecations):
Dtest_struct.py6 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"
Dtest_exceptions.py9 check_warnings, cpython_only)
312 with check_warnings(("BaseException.message has been deprecated "
322 with check_warnings(quiet=True) as w:
Dtest_warnings.py661 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)):
Dtest_scope.py3 check_warnings, run_unittest
659 with check_warnings(("import \* only allowed at module level",
Dtest_fileio.py13 from test.test_support import TESTFN, check_warnings, run_unittest, make_bad_fd
397 with check_warnings(quiet=True) as w:
Dtest_xml_etree.py1849 self.checkwarnings = test_support.check_warnings(*deprecations,
Dtest_zipimport_support.py178 with test.test_support.check_warnings(*deprecations):
Dtest_symtable.py46 with test_support.check_warnings(
Dtest_importhooks.py244 with test_support.check_warnings(("The compiler package is deprecated "
Dtest_contextlib.py320 with test_support.check_warnings(("With-statements now directly support "
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_archive_util.py15 from test.test_support import check_warnings, run_unittest
165 with check_warnings() as w:
179 with check_warnings() as w:
Dtest_register.py10 from test.test_support import check_warnings, run_unittest
252 with check_warnings() as w:
Dtest_sdist.py27 from test.test_support import captured_stdout, check_warnings, run_unittest
264 with check_warnings() as w:

12