/third_party/python/Lib/test/ |
D | test_cgitb.py | 2 from test.support.script_helper import assert_python_failure 41 rc, out, err = assert_python_failure( 57 rc, out, err = assert_python_failure(
|
D | test_eof.py | 36 rc, out, err = script_helper.assert_python_failure(file_name) 63 rc, out, err = script_helper.assert_python_failure(file_name) 69 rc, out, err = script_helper.assert_python_failure(file_name)
|
D | test_cmd_line.py | 14 spawn_python, kill_python, assert_python_ok, assert_python_failure, 31 assert_python_failure('.') 32 assert_python_failure('< .') 120 assert_python_failure('-m') 122 assert_python_failure('-m', 'fnord43520xyz') 125 assert_python_failure('-m', 'runpy', 'fnord43520xyz') 143 assert_python_failure('-c') 145 assert_python_failure('-c', 'raise Exception') 406 rc, out, err = assert_python_failure('-c', "'") 418 rc, out, err = assert_python_failure('-c', code) [all …]
|
D | test_cmd_line_script.py | 21 assert_python_ok, assert_python_failure, spawn_python, kill_python) 144 rc, out, err = assert_python_failure( 453 rc, out, err = assert_python_failure('-m', *args, __isolated=False) 485 rc, _, err = assert_python_failure('-m', name) 549 exitcode, stdout, stderr = assert_python_failure(script_name) 593 exitcode, stdout, stderr = assert_python_failure(script_name) 601 exitcode, stdout, stderr = assert_python_failure(script_name) 613 exitcode, stdout, stderr = assert_python_failure(script_name) 624 exitcode, stdout, stderr = assert_python_failure(script_name) 633 exitcode, stdout, stderr = assert_python_failure(script_name) [all …]
|
D | test_crashers.py | 11 from test.support.script_helper import assert_python_failure 30 assert_python_failure(fname)
|
D | test_cprofile.py | 9 from test.support.script_helper import assert_python_failure 63 rc, out, err = assert_python_failure('-m', 'cProfile', '-s', 'demo')
|
D | test_profile.py | 14 from test.support.script_helper import assert_python_failure, assert_python_ok 104 assert_python_failure('-m', self.profilermodule.__name__, '-m') 107 assert_python_failure('-m', self.profilermodule.__name__,
|
D | test_script_helper.py | 19 rc, out, err = script_helper.assert_python_failure('-c', 'sys.exit(0)') 32 script_helper.assert_python_failure('-c', 'import sys; sys.exit(0)')
|
D | test_capi.py | 23 from test.support.script_helper import assert_python_failure, assert_python_ok 213 rc, out, err = assert_python_failure('-c', code) 241 rc, out, err = assert_python_failure('-c', code) 276 rc, out, err = assert_python_failure('-c', code) 386 rc, out, err = assert_python_failure('-c', code) 585 rc, out, err = assert_python_failure('-sSI', '-c', code) 853 out = assert_python_failure(
|
D | test_utf8_mode.py | 11 from test.support.script_helper import assert_python_ok, assert_python_failure 33 out = assert_python_failure(*args, **kw)
|
D | test_trace.py | 5 from test.support.script_helper import assert_python_ok, assert_python_failure 488 *_, stderr = assert_python_failure('-m', 'trace', *args) 540 assert_python_failure('-m', 'trace', '-l', '--module', 'not_a_module_zzz')
|
D | test_compileall.py | 291 _, _, err = script_helper.assert_python_failure(modcode) 321 rc, out, err = script_helper.assert_python_failure(bc) 340 rc, out, err = script_helper.assert_python_failure(bc) 357 rc, out, err = script_helper.assert_python_failure(bc) 501 rc, out, err = script_helper.assert_python_failure( 719 rc, out, err = script_helper.assert_python_failure(fn, __isolated=False) 828 rc, out, err = script_helper.assert_python_failure(bc)
|
D | test_gzip.py | 16 from test.support.script_helper import assert_python_ok, assert_python_failure 785 rc, out, err = assert_python_failure('-m', 'gzip', '-d', 'thisisatest.out') 834 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '--best') 839 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '-d')
|
D | test_exceptions.py | 1266 rc, out, err = script_helper.assert_python_failure("-Wd", "-c", code) 1285 rc, out, err = script_helper.assert_python_failure("-c", code) 1358 rc, out, err = script_helper.assert_python_failure("-c", code) 1522 rc, out, err = script_helper.assert_python_failure("-c", code % i) 2362 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN) 2375 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN) 2388 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN)
|
D | test_calendar.py | 5 from test.support.script_helper import assert_python_ok, assert_python_failure 821 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
|
D | test_tracemalloc.py | 7 from test.support.script_helper import (assert_python_ok, assert_python_failure, 925 ok, stdout, stderr = assert_python_failure( 956 ok, stdout, stderr = assert_python_failure(*args)
|
D | test_sys.py | 14 from test.support.script_helper import assert_python_ok, assert_python_failure 154 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)') 160 rc, out, err = assert_python_failure('-c', code, **env_vars) 1542 rc, out, err = assert_python_failure('-c', code)
|
D | test_threading.py | 9 from test.support.script_helper import assert_python_ok, assert_python_failure 341 rc, out, err = assert_python_failure("-c", """if 1: 1229 rc, out, err = assert_python_failure("-c", script)
|
D | test_py_compile.py | 244 return script_helper.assert_python_failure('-m', 'py_compile', *args)
|
D | test_unicodedata.py | 245 result = script_helper.assert_python_failure("-c", code)
|
D | test_fstring.py | 17 from test.support.script_helper import assert_python_failure 1133 _, _, stderr = assert_python_failure(file_path,
|
/third_party/python/Lib/test/test_tools/ |
D | test_md5sum.py | 8 from test.support.script_helper import assert_python_ok, assert_python_failure 72 rc, out, err = assert_python_failure(self.script, '-h')
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 163 def assert_python_failure(*args, **env_vars): function
|
/third_party/python/Lib/test/test_importlib/extension/ |
D | test_loader.py | 14 from test.support.script_helper import assert_python_failure
|
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 13 from test.support.script_helper import assert_python_ok, assert_python_failure 1161 rc, stdout, stderr = assert_python_failure("-Werror::DeprecationWarning", "-c",
|