/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') 53 rc, out, err = assert_python_ok(switch) 61 rc, out, err = assert_python_ok('-v') 63 rc, out, err = assert_python_ok('-vv') 122 assert_python_ok('-m', 'timeit', '-n', '1') 142 assert_python_ok('-c', 'pass') 149 assert_python_ok('-c', command) 229 rc, out, err = assert_python_ok('-u', '-c', code) [all …]
|
D | test_signal.py | 12 from test.support.script_helper import assert_python_ok, spawn_python 62 assert_python_ok(script) 205 assert_python_ok('-c', code) 257 assert_python_ok('-c', code) 386 assert_python_ok('-c', code) 429 assert_python_ok('-c', code) 538 assert_python_ok('-c', code) 767 assert_python_ok('-c', code) 792 assert_python_ok('-c', code) 838 assert_python_ok('-c', code) [all …]
|
D | test_threading.py | 8 from test.support.script_helper import assert_python_ok, assert_python_failure 320 assert_python_ok("-c", """if 1: 345 rc, out, err = assert_python_ok("-c", """if 1: 461 _, out, err = assert_python_ok("-c", code) 516 _, out, err = assert_python_ok("-c", code) 545 _, out, err = assert_python_ok("-c", code) 574 _, out, err = assert_python_ok("-c", code) 716 rc, out, err = assert_python_ok("-c", script) 814 rc, out, err = assert_python_ok('-c', script) 1027 rc, out, err = assert_python_ok("-c", script) [all …]
|
D | test_trace.py | 4 from test.support.script_helper import assert_python_ok, assert_python_failure 395 status, stdout, stderr = assert_python_ok(*argv) 408 status, stdout, stderr = assert_python_ok(*argv) 436 status, stdout, stderr = assert_python_ok('-m', 'trace', '-l', TESTFN) 445 status, direct_stdout, stderr = assert_python_ok(TESTFN) 446 status, trace_stdout, stderr = assert_python_ok('-m', 'trace', '-l', TESTFN) 465 status, stdout, _ = assert_python_ok('-m', 'trace', '-cs', filename)
|
D | test_cprofile.py | 10 from test.support.script_helper import assert_python_failure, assert_python_ok 51 assert_python_ok('-m', 'cProfile', '-m', 'timeit', '-n', '1')
|
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__)") 352 … rc, out, err = assert_python_ok('-m', 'test_pkg.script', *example_args, __isolated=False) 368 rc, out, err = assert_python_ok('-c', 384 rc, out, err = assert_python_ok('-m', 'other', *example_args, 508 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, 199 rc, out, err = assert_python_ok(script_name) 208 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, 823 ok, stdout, stderr = assert_python_ok('-c', code) 832 ok, stdout, stderr = assert_python_ok('-E', '-c', code, PYTHONTRACEMALLOC='1') 839 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='1') 846 ok, stdout, stderr = assert_python_ok('-c', code, PYTHONTRACEMALLOC='10') 876 ok, stdout, stderr = assert_python_ok('-X', xoptions, '-c', code) 901 assert_python_ok('-X', 'tracemalloc', '-c', code)
|
D | test_eintr.py | 33 script_helper.assert_python_ok("-u", tester, "-v")
|
D | test_utf8_mode.py | 11 from test.support.script_helper import assert_python_ok, assert_python_failure 35 out = assert_python_ok(*args, **kw)
|
D | test_multiprocessing_main_handling.py | 16 assert_python_ok) 166 rc, out, err = assert_python_ok(*run_args, __isolated=False)
|
D | test_module.py | 5 from test.support.script_helper import assert_python_ok 272 rc, out, err = assert_python_ok("-c", "from test import final_a")
|
D | test_hash.py | 10 from test.support.script_helper import assert_python_ok 185 out = assert_python_ok(
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_md5sum.py | 6 from test.support.script_helper import assert_python_ok, assert_python_failure 28 rc, out, err = assert_python_ok(self.script) 35 rc, out, err = assert_python_ok(self.script, self.fodder) 43 rc, out, err = assert_python_ok(self.script, '-l', self.fodder) 51 rc, out, err = assert_python_ok(self.script, '-t', self.fodder) 57 rc, out, err = assert_python_ok(self.script, '-s', '512', self.fodder) 62 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 | 7 from test.support.script_helper import assert_python_ok 79 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 87 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) 96 rc, out, err = assert_python_ok('-m', 'json.tool', '-h') 103 rc, out, err = assert_python_ok('-m', 'json.tool', '--sort-keys', infile)
|
/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_warnings/ |
D | __init__.py | 10 from test.support.script_helper import assert_python_ok, assert_python_failure 647 rc, out, err = assert_python_ok("-Wxxx", "-c", "pass") 653 rc, out, err = assert_python_ok("-Wi", "-c", 818 rc, stdout, stderr = assert_python_ok("-c", 983 res = assert_python_ok(*args) 1173 rc, stdout, stderr = assert_python_ok("-c", 1180 rc, stdout, stderr = assert_python_ok("-c", 1188 rc, stdout, stderr = assert_python_ok("-Wignore::UnicodeWarning", "-c", 1233 rc, stdout, stderr = assert_python_ok("-c", code, __isolated=True) 1242 rc, stdout, stderr = assert_python_ok("-c", [all …]
|