Searched refs:check_warnings (Results 1 - 25 of 150) sorted by path

123456

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest___all__.py26 with support.check_warnings((".* (module|package)",
H A Dtest_argparse.py4750 with test_support.check_warnings(
H A Dtest_ascii_formatd.py6 from test.test_support import check_warnings, run_unittest, import_module namespace
20 with check_warnings(('PyOS_ascii_formatd is deprecated',
46 with check_warnings(('PyOS_ascii_formatd is deprecated',
H A Dtest_bytes.py25 with test.test_support.check_warnings(('', BytesWarning)):
H A Dtest_cgi.py1 from test.test_support import run_unittest, check_warnings namespace
348 with check_warnings(('cgi.parse_qs is deprecated, use urlparse.'
355 with check_warnings(('cgi.parse_qsl is deprecated, use urlparse.'
H A Dtest_coercion.py3 from test.test_support import run_unittest, TestFailed, check_warnings namespace
226 with check_warnings(("classic (int|long) division", DeprecationWarning),
341 with check_warnings(("complex divmod.., // and % are deprecated",
H A Dtest_commands.py9 check_warnings namespace
63 with check_warnings((".*commands.getstatus.. is deprecated",
H A Dtest_complex.py646 with test_support.check_warnings(("complex divmod.., // and % are "
H A Dtest_contextlib.py320 with test_support.check_warnings(("With-statements now directly support "
H A Dtest_cookie.py3 from test.test_support import run_unittest, run_doctest, check_warnings namespace
94 with check_warnings(('.+Cookie class is insecure; do not use it',
H A Dtest_descr.py4721 with test_support.check_warnings(*deprecations):
H A Dtest_doctest.py2682 with test_support.check_warnings(*deprecations):
H A Dtest_exceptions.py9 check_warnings, cpython_only)
312 with check_warnings(("BaseException.message has been deprecated "
322 with check_warnings(quiet=True) as w:
H A Dtest_fileio.py15 from test.test_support import TESTFN, check_warnings, run_unittest, make_bad_fd namespace
430 with check_warnings(quiet=True) as w:
H A Dtest_import.py15 is_jython, check_warnings, EnvironmentVarGuard)
301 with check_warnings(('', ImportWarning)):
569 with check_warnings(('.+foo', RuntimeWarning)):
575 with check_warnings(('.+foo', RuntimeWarning)):
H A Dtest_importhooks.py244 with test_support.check_warnings(("The compiler package is deprecated "
H A Dtest_io.py1252 with support.check_warnings(("max_buffer_size is deprecated",
1325 with support.check_warnings(("max_buffer_size is deprecated",
H A Dtest_macostools.py50 with test_support.check_warnings(('macostools.touched*',
H A Dtest_pep352.py5 from test.test_support import run_unittest, check_warnings namespace
24 with check_warnings(*_deprecations, quiet=True):
141 with check_warnings(("", DeprecationWarning)):
H A Dtest_scope.py3 check_warnings, run_unittest namespace
659 with check_warnings(("import \* only allowed at module level",
H A Dtest_set.py887 with test_support.check_warnings():
H A Dtest_shutil.py20 from test.test_support import TESTFN, check_warnings, captured_stdout namespace
H A Dtest_str.py309 with test_support.check_warnings((msg, PendingDeprecationWarning)):
H A Dtest_struct.py7 from test.test_support import (check_warnings, check_py3k_warnings) namespace
39 with check_warnings((".*integer argument expected, got float",
319 with check_warnings(("integer argument expected, "
328 with check_warnings((".*integer argument expected, got non"
H A 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)):

Completed in 457 milliseconds

123456