Home
last modified time | relevance | path

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

1234

/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')
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 …]
Dtest_threading.py7 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 …]
Dtest_lltrace.py6 from test.support.script_helper import assert_python_ok
28 assert_python_ok(support.TESTFN)
Dtest_signal.py12 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 …]
Dtest_trace.py4 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')
Dtest_profile.py14 from test.support.script_helper import assert_python_failure, assert_python_ok
111 assert_python_ok('-m', self.profilermodule.__name__,
120 assert_python_ok(
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__)")
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)
Dtest_zipimport_support.py16 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)
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_eintr.py33 script_helper.assert_python_ok("-u", tester, "-v")
Dtest_tracemalloc.py7 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)
Dtest_utf8_mode.py10 from test.support.script_helper import assert_python_ok, assert_python_failure
34 out = assert_python_ok(*args, **kw)
Dtest_graphlib.py6 from test.support.script_helper import assert_python_ok
236 out = assert_python_ok("-c", code, **env)
Dtest_multiprocessing_main_handling.py16 assert_python_ok)
166 rc, out, err = assert_python_ok(*run_args, __isolated=False)
/external/python/cpython3/Lib/test/test_tools/
Dtest_md5sum.py7 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)
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.py9 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/
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_peg_generator/
Dtest_c_parser.py9 from test.support.script_helper import assert_python_ok
91 assert_python_ok(

1234