Home
last modified time | relevance | path

Searched refs:assert_python_ok (Results 1 – 25 of 71) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_cmd_line.py13 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 …]
Dtest_signal.py12 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 …]
Dtest_threading.py8 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 …]
Dtest_trace.py4 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)
Dtest_cprofile.py10 from test.support.script_helper import assert_python_failure, assert_python_ok
51 assert_python_ok('-m', 'cProfile', '-m', 'timeit', '-n', '1')
Dtest_cmd_line_script.py19 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)
Dtest_zipimport_support.py16 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)
Dtest_script_helper.py14 t = script_helper.assert_python_ok('-c', 'import sys; sys.exit(0)')
25 script_helper.assert_python_ok('-c', 'sys.exit(0)')
Dtest_tracemalloc.py7 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)
Dtest_eintr.py33 script_helper.assert_python_ok("-u", tester, "-v")
Dtest_utf8_mode.py11 from test.support.script_helper import assert_python_ok, assert_python_failure
35 out = assert_python_ok(*args, **kw)
Dtest_multiprocessing_main_handling.py16 assert_python_ok)
166 rc, out, err = assert_python_ok(*run_args, __isolated=False)
Dtest_module.py5 from test.support.script_helper import assert_python_ok
272 rc, out, err = assert_python_ok("-c", "from test import final_a")
Dtest_hash.py10 from test.support.script_helper import assert_python_ok
185 out = assert_python_ok(
/external/python/cpython3/Lib/test/test_tools/
Dtest_md5sum.py6 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)
Dtest_reindent.py9 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)
Dtest_i18n.py8 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)
Dtest_pindent.py9 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/
Dtest_tool.py7 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/
Dtest_tool.py7 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/
Dtest_tools.py18 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)
Dtest_readline.py7 from test.script_helper import assert_python_ok
54 rc, stdout, stderr = assert_python_ok('-c', 'import readline',
Dtest_cmd_line.py9 assert_python_ok, assert_python_failure, spawn_python, kill_python,
117 assert_python_ok(filename)
Dtest_threading.py5 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__.py10 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 …]

123