/third_party/python/Lib/test/ |
D | test_cmd_line.py | 14 spawn_python, kill_python, assert_python_ok, assert_python_failure, 35 rc, out, err = assert_python_ok(*cmd_line) 48 rc, out, err = assert_python_ok('-h') 58 rc, out, err = assert_python_ok(switch) 66 rc, out, err = assert_python_ok('-v') 68 rc, out, err = assert_python_ok('-vv') 127 assert_python_ok('-m', 'timeit', '-n', '1') 147 assert_python_ok('-c', 'pass') 154 assert_python_ok('-c', command) 161 res = assert_python_ok('-c', cmd) [all …]
|
D | test_threading.py | 9 from test.support.script_helper import assert_python_ok, assert_python_failure 371 assert_python_ok("-c", """if 1: 396 rc, out, err = assert_python_ok("-c", """if 1: 532 _, out, err = assert_python_ok("-c", code) 559 _, out, err = assert_python_ok("-c", code) 613 _, out, err = assert_python_ok("-c", code) 643 _, out, err = assert_python_ok("-c", code) 671 _, out, err = assert_python_ok("-c", code) 709 rc, out, err = assert_python_ok("-c", code) 880 rc, out, err = assert_python_ok("-c", """if 1: [all …]
|
D | test_lltrace.py | 6 from test.support.script_helper import assert_python_ok 28 assert_python_ok(os_helper.TESTFN)
|
D | test_signal.py | 15 from test.support.script_helper import assert_python_ok, spawn_python 80 assert_python_ok(script) 272 assert_python_ok('-c', code) 324 assert_python_ok('-c', code) 452 assert_python_ok('-c', code) 495 assert_python_ok('-c', code) 608 assert_python_ok('-c', code) 840 assert_python_ok('-c', code) 865 assert_python_ok('-c', code) 911 assert_python_ok('-c', code) [all …]
|
D | test_trace.py | 5 from test.support.script_helper import assert_python_ok, assert_python_failure 452 status, stdout, stderr = assert_python_ok(*argv) 466 status, stdout, stderr = assert_python_ok(*argv) 497 status, stdout, stderr = assert_python_ok('-m', 'trace', '-l', filename, 509 status, direct_stdout, stderr = assert_python_ok(TESTFN) 510 status, trace_stdout, stderr = assert_python_ok('-m', 'trace', '-l', TESTFN, 531 status, stdout, _ = assert_python_ok('-m', 'trace', '-cs', filename, 539 assert_python_ok('-m', 'trace', '-l', '--module', 'timeit', '-n', '1')
|
D | test_profile.py | 14 from test.support.script_helper import assert_python_failure, assert_python_ok 111 assert_python_ok('-m', self.profilermodule.__name__, 120 assert_python_ok(
|
D | test_atexit.py | 28 res = script_helper.assert_python_ok("-c", code) 46 res = script_helper.assert_python_ok("-c", code)
|
D | test_cmd_line_script.py | 21 assert_python_ok, assert_python_failure, spawn_python, kill_python) 130 rc, out, err = assert_python_ok( 154 rc, out, err = assert_python_ok("-c", "print(__loader__)") 389 … rc, out, err = assert_python_ok('-m', 'test_pkg.script', *example_args, __isolated=False) 405 rc, out, err = assert_python_ok('-c', 421 rc, out, err = assert_python_ok('-m', 'other', *example_args, 440 rc, out, err = assert_python_ok(script_name) 572 rc, stdout, stderr = assert_python_ok(script_name)
|
D | test_zipimport_support.py | 17 from test.support.script_helper import (spawn_python, kill_python, assert_python_ok, 198 rc, out, err = assert_python_ok(script_name) 207 rc, out, err = assert_python_ok(zip_name)
|
D | test_script_helper.py | 14 t = script_helper.assert_python_ok('-c', 'import sys; sys.exit(0)') 25 script_helper.assert_python_ok('-c', 'sys.exit(0)')
|
D | test_tracemalloc.py | 7 from test.support.script_helper import (assert_python_ok, assert_python_failure, 889 ok, stdout, stderr = assert_python_ok('-c', code) 898 ok, stdout, stderr = assert_python_ok('-E', '-c', code, PYTHONTRACEMALLOC='1') 905 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='0') 912 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='1') 919 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='10') 949 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code) 974 assert_python_ok('-X', 'tracemalloc', '-c', code)
|
D | test_graphlib.py | 6 from test.support.script_helper import assert_python_ok 242 out = assert_python_ok("-c", code, **env)
|
D | test_utf8_mode.py | 11 from test.support.script_helper import assert_python_ok, assert_python_failure 36 out = assert_python_ok(*args, **kw)
|
D | test_multiprocessing_main_handling.py | 18 assert_python_ok) 168 rc, out, err = assert_python_ok(*run_args, __isolated=False)
|
D | test_hash.py | 10 from test.support.script_helper import assert_python_ok 185 out = assert_python_ok(
|
D | test_readline.py | 16 from test.support.script_helper import assert_python_ok 146 rc, stdout, stderr = assert_python_ok('-c', 'import readline',
|
/third_party/python/Lib/test/test_tools/ |
D | test_md5sum.py | 8 from test.support.script_helper import assert_python_ok, assert_python_failure 31 rc, out, err = assert_python_ok(self.script) 38 rc, out, err = assert_python_ok(self.script, self.fodder) 46 rc, out, err = assert_python_ok(self.script, '-l', self.fodder) 54 rc, out, err = assert_python_ok(self.script, '-t', self.fodder) 60 rc, out, err = assert_python_ok(self.script, '-s', '512', self.fodder) 65 rc, out, err = assert_python_ok(self.script, self.fodder, self.fodder)
|
D | test_reindent.py | 9 from test.support.script_helper import assert_python_ok 20 assert_python_ok(self.script) 23 rc, out, err = assert_python_ok(self.script, '-h') 29 rc, out, err = assert_python_ok(self.script, '-r', bad_coding_path)
|
D | test_i18n.py | 8 from test.support.script_helper import assert_python_ok 62 assert_python_ok(self.script, '-D', filename) 72 assert_python_ok(self.script) 99 assert_python_ok(self.script) 310 assert_python_ok(self.script, sdir)
|
D | test_pindent.py | 10 from test.support.script_helper import assert_python_ok 45 rc, out, err = assert_python_ok(self.script, '-d', data_path) 58 rc, out, err = assert_python_ok(self.script, '-c', data_path) 69 rc, out, err = assert_python_ok(self.script, '-r', data_path)
|
/third_party/python/Lib/test/test_json/ |
D | test_tool.py | 10 from test.support.script_helper import assert_python_ok 103 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 117 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 126 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) 136 rc, out, err = assert_python_ok('-m', 'json.tool', infile, infile) 150 rc, out, err = assert_python_ok('-m', 'json.tool', '-h') 157 rc, out, err = assert_python_ok('-m', 'json.tool', '--sort-keys', infile) 204 assert_python_ok('-m', 'json.tool', '--no-ensure-ascii', infile, outfile) 215 assert_python_ok('-m', 'json.tool', infile, outfile)
|
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 13 from test.support.script_helper import assert_python_ok, assert_python_failure 613 rc, out, err = assert_python_ok("-Wxxx", "-c", "pass") 619 rc, out, err = assert_python_ok("-Wi", "-c", 784 rc, stdout, stderr = assert_python_ok("-c", 949 res = assert_python_ok(*args, PYTHONIOENCODING='utf-8') 1138 rc, stdout, stderr = assert_python_ok("-c", 1145 rc, stdout, stderr = assert_python_ok("-c", 1153 rc, stdout, stderr = assert_python_ok("-Wignore::UnicodeWarning", "-c", 1198 rc, stdout, stderr = assert_python_ok("-c", code, __isolated=True) 1208 rc, stdout, stderr = assert_python_ok("-c", [all …]
|
/third_party/python/Lib/test/test_peg_generator/ |
D | test_c_parser.py | 12 from test.support.script_helper import assert_python_ok 98 assert_python_ok(
|
/third_party/python/Lib/test/test_importlib/ |
D | test_threaded_import.py | 252 script_helper.assert_python_ok(fn) 258 script_helper.assert_python_ok(fn)
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 149 def assert_python_ok(*args, **env_vars): function 294 assert_python_ok("-u", script, "-v")
|