/external/python/cpython3/Lib/test/ |
D | test_cmd_line.py | 13 spawn_python, kill_python, assert_python_ok, assert_python_failure, 34 rc, out, err = assert_python_ok(*cmd_line) 47 rc, out, err = assert_python_ok('-h') 57 rc, out, err = assert_python_ok(switch) 65 rc, out, err = assert_python_ok('-v') 67 rc, out, err = assert_python_ok('-vv') 126 assert_python_ok('-m', 'timeit', '-n', '1') 146 assert_python_ok('-c', 'pass') 153 assert_python_ok('-c', command) 248 rc, out, err = assert_python_ok('-u', '-c', code) [all …]
|
D | test_threading.py | 7 from test.support.script_helper import assert_python_ok, assert_python_failure 326 assert_python_ok("-c", """if 1: 351 rc, out, err = assert_python_ok("-c", """if 1: 467 _, out, err = assert_python_ok("-c", code) 494 _, out, err = assert_python_ok("-c", code) 548 _, out, err = assert_python_ok("-c", code) 578 _, out, err = assert_python_ok("-c", code) 606 _, out, err = assert_python_ok("-c", code) 644 rc, out, err = assert_python_ok("-c", code) 794 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(support.TESTFN)
|
D | test_signal.py | 12 from test.support.script_helper import assert_python_ok, spawn_python 69 assert_python_ok(script) 261 assert_python_ok('-c', code) 313 assert_python_ok('-c', code) 441 assert_python_ok('-c', code) 484 assert_python_ok('-c', code) 593 assert_python_ok('-c', code) 822 assert_python_ok('-c', code) 847 assert_python_ok('-c', code) 893 assert_python_ok('-c', code) [all …]
|
D | test_trace.py | 4 from test.support.script_helper import assert_python_ok, assert_python_failure 451 status, stdout, stderr = assert_python_ok(*argv) 465 status, stdout, stderr = assert_python_ok(*argv) 496 status, stdout, stderr = assert_python_ok('-m', 'trace', '-l', filename, 508 status, direct_stdout, stderr = assert_python_ok(TESTFN) 509 status, trace_stdout, stderr = assert_python_ok('-m', 'trace', '-l', TESTFN, 530 status, stdout, _ = assert_python_ok('-m', 'trace', '-cs', filename, 538 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_cmd_line_script.py | 19 assert_python_ok, assert_python_failure, spawn_python, kill_python) 128 rc, out, err = assert_python_ok( 152 rc, out, err = assert_python_ok("-c", "print(__loader__)") 387 … rc, out, err = assert_python_ok('-m', 'test_pkg.script', *example_args, __isolated=False) 403 rc, out, err = assert_python_ok('-c', 419 rc, out, err = assert_python_ok('-m', 'other', *example_args, 438 rc, out, err = assert_python_ok(script_name) 570 rc, stdout, stderr = assert_python_ok(script_name)
|
D | test_zipimport_support.py | 16 from test.support.script_helper import (spawn_python, kill_python, assert_python_ok, 197 rc, out, err = assert_python_ok(script_name) 206 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_eintr.py | 33 script_helper.assert_python_ok("-u", tester, "-v")
|
D | test_tracemalloc.py | 7 from test.support.script_helper import (assert_python_ok, assert_python_failure, 869 ok, stdout, stderr = assert_python_ok('-c', code) 878 ok, stdout, stderr = assert_python_ok('-E', '-c', code, PYTHONTRACEMALLOC='1') 885 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='0') 892 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='1') 899 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='10') 929 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code) 954 assert_python_ok('-X', 'tracemalloc', '-c', code)
|
D | test_utf8_mode.py | 10 from test.support.script_helper import assert_python_ok, assert_python_failure 34 out = assert_python_ok(*args, **kw)
|
D | test_graphlib.py | 6 from test.support.script_helper import assert_python_ok 236 out = assert_python_ok("-c", code, **env)
|
D | test_multiprocessing_main_handling.py | 16 assert_python_ok) 166 rc, out, err = assert_python_ok(*run_args, __isolated=False)
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_md5sum.py | 7 from test.support.script_helper import assert_python_ok, assert_python_failure 30 rc, out, err = assert_python_ok(self.script) 37 rc, out, err = assert_python_ok(self.script, self.fodder) 45 rc, out, err = assert_python_ok(self.script, '-l', self.fodder) 53 rc, out, err = assert_python_ok(self.script, '-t', self.fodder) 59 rc, out, err = assert_python_ok(self.script, '-s', '512', self.fodder) 64 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) 240 assert_python_ok(self.script, sdir)
|
D | test_pindent.py | 9 from test.support.script_helper import assert_python_ok 44 rc, out, err = assert_python_ok(self.script, '-d', data_path) 57 rc, out, err = assert_python_ok(self.script, '-c', data_path) 68 rc, out, err = assert_python_ok(self.script, '-r', data_path)
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_tool.py | 9 from test.support.script_helper import assert_python_ok 102 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 116 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 125 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) 140 rc, out, err = assert_python_ok('-m', 'json.tool', '-h') 147 rc, out, err = assert_python_ok('-m', 'json.tool', '--sort-keys', infile) 194 assert_python_ok('-m', 'json.tool', '--no-ensure-ascii', infile, outfile) 205 assert_python_ok('-m', 'json.tool', infile, outfile)
|
/external/python/cpython2/Lib/json/tests/ |
D | test_tool.py | 7 from test.script_helper import assert_python_ok 57 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile)
|
/external/python/cpython2/Lib/test/ |
D | test_tools.py | 18 from test.script_helper import assert_python_ok, temp_dir 34 assert_python_ok(self.script) 37 rc, out, err = assert_python_ok(self.script, '-h') 70 rc, out, err = assert_python_ok(self.script, '-d', data_path) 83 rc, out, err = assert_python_ok(self.script, '-c', data_path) 94 rc, out, err = assert_python_ok(self.script, '-r', data_path)
|
D | test_readline.py | 7 from test.script_helper import assert_python_ok 54 rc, stdout, stderr = assert_python_ok('-c', 'import readline',
|
D | test_cmd_line.py | 9 assert_python_ok, assert_python_failure, spawn_python, kill_python, 117 assert_python_ok(filename)
|
D | test_threading.py | 5 from test.script_helper import assert_python_ok 438 _, out, err = assert_python_ok("-c", code) 808 rc, out, err = assert_python_ok("-c", script) 836 rc, out, err = assert_python_ok("-c", script) 864 rc, out, err = assert_python_ok("-c", script)
|
/external/python/cpython3/Lib/test/test_peg_generator/ |
D | test_c_parser.py | 9 from test.support.script_helper import assert_python_ok 91 assert_python_ok(
|