/external/python/cpython3/Lib/test/ |
D | test_cprofile.py | 10 from test.support.script_helper import assert_python_failure, assert_python_ok 45 assert_python_failure('-m', 'cProfile', '-m') 48 assert_python_failure('-m', 'cProfile', '-m', 'random_module_xyz') 56 rc, out, err = assert_python_failure('-m', 'cProfile', '-s', 'demo')
|
D | test_cmd_line.py | 13 spawn_python, kill_python, assert_python_ok, assert_python_failure, 30 assert_python_failure('.') 31 assert_python_failure('< .') 115 assert_python_failure('-m') 117 assert_python_failure('-m', 'fnord43520xyz') 120 assert_python_failure('-m', 'runpy', 'fnord43520xyz') 138 assert_python_failure('-c') 140 assert_python_failure('-c', 'raise Exception') 344 rc, out, err = assert_python_failure('-c', "'") 356 rc, out, err = assert_python_failure('-c', code) [all …]
|
D | test_cgitb.py | 2 from test.support.script_helper import assert_python_failure 41 rc, out, err = assert_python_failure( 56 rc, out, err = assert_python_failure(
|
D | test_cmd_line_script.py | 19 assert_python_ok, assert_python_failure, spawn_python, kill_python) 142 rc, out, err = assert_python_failure( 399 rc, out, err = assert_python_failure('-m', *args, __isolated=False) 431 rc, _, err = assert_python_failure('-m', name) 485 exitcode, stdout, stderr = assert_python_failure(script_name) 529 exitcode, stdout, stderr = assert_python_failure(script_name) 537 exitcode, stdout, stderr = assert_python_failure(script_name) 549 exitcode, stdout, stderr = assert_python_failure(script_name) 560 exitcode, stdout, stderr = assert_python_failure(script_name) 627 exitcode, stdout, stderr = assert_python_failure(
|
D | test_crashers.py | 11 from test.support.script_helper import assert_python_failure 30 assert_python_failure(fname)
|
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 | 18 from test.support.script_helper import assert_python_failure, assert_python_ok 190 rc, out, err = assert_python_failure('-c', code) 217 rc, out, err = assert_python_failure('-c', code) 453 out = assert_python_failure('-c', code,
|
D | test_utf8_mode.py | 11 from test.support.script_helper import assert_python_ok, assert_python_failure 32 out = assert_python_failure(*args, **kw)
|
D | test_exceptions.py | 991 rc, out, err = script_helper.assert_python_failure("-Wd", "-c", code) 1010 rc, out, err = script_helper.assert_python_failure("-c", code) 1035 rc, out, err = script_helper.assert_python_failure("-c", code) 1212 rc, out, err = script_helper.assert_python_failure("-c", code % i)
|
D | test_threading.py | 8 from test.support.script_helper import assert_python_ok, assert_python_failure 290 rc, out, err = assert_python_failure("-c", """if 1: 943 rc, out, err = assert_python_failure("-c", script)
|
D | test_trace.py | 4 from test.support.script_helper import assert_python_ok, assert_python_failure 429 *_, stderr = assert_python_failure('-m', 'trace', *args)
|
D | test_calendar.py | 5 from test.support.script_helper import assert_python_ok, assert_python_failure 797 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, 852 ok, stdout, stderr = assert_python_failure( 883 ok, stdout, stderr = assert_python_failure(*args)
|
D | test_parser.py | 8 from test.support.script_helper import assert_python_failure 786 rc, out, err = assert_python_failure('-c', e)
|
D | test_sys.py | 2 from test.support.script_helper import assert_python_ok, assert_python_failure 125 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)') 131 rc, out, err = assert_python_failure('-c', code, **env_vars)
|
D | test_compileall.py | 278 rc, out, err = script_helper.assert_python_failure( 481 rc, out, err = script_helper.assert_python_failure(fn, __isolated=False)
|
/external/python/cpython2/Lib/test/ |
D | test_cmd_line.py | 9 assert_python_ok, assert_python_failure, spawn_python, kill_python, 120 rc, out, err = assert_python_failure('-E', '-z') 126 rc, out, err = assert_python_failure('-z', without='-E') 130 rc, out, err = assert_python_failure('-a', '-z', without='-E')
|
D | test_cmd_line_script.py | 10 assert_python_failure, make_pkg, 220 rc, out, err = assert_python_failure('-m', *args) 247 rc, _, err = assert_python_failure('-m', name)
|
D | test_sys.py | 3 from test.script_helper import assert_python_ok, assert_python_failure 157 rc, out, err = assert_python_failure('-c', 'raise SystemExit, 46') 162 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)') 168 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47L)') 179 rc, out, err = assert_python_failure('-c', code, **env_vars)
|
D | test_calendar.py | 5 from test.script_helper import assert_python_ok, assert_python_failure 503 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
|
D | test_parser.py | 8 from test.script_helper import assert_python_failure 671 rc, out, err = assert_python_failure('-c', e)
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_md5sum.py | 6 from test.support.script_helper import assert_python_ok, assert_python_failure 69 rc, out, err = assert_python_failure(self.script, '-h')
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_loader.py | 12 from test.support.script_helper import assert_python_failure 291 assert_python_failure("-c", script)
|
/external/python/cpython2/Lib/test/support/ |
D | script_helper.py | 57 def assert_python_failure(*args, **env_vars): function
|
/external/python/cpython3/Lib/test/support/ |
D | script_helper.py | 159 def assert_python_failure(*args, **env_vars): function
|