Home
last modified time | relevance | path

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

123

/third_party/python/Lib/test/
Dtest_cmd_line.py14 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 …]
Dtest_threading.py9 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 …]
Dtest_lltrace.py6 from test.support.script_helper import assert_python_ok
28 assert_python_ok(os_helper.TESTFN)
Dtest_signal.py15 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 …]
Dtest_trace.py5 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')
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_atexit.py28 res = script_helper.assert_python_ok("-c", code)
46 res = script_helper.assert_python_ok("-c", code)
Dtest_cmd_line_script.py21 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)
Dtest_zipimport_support.py17 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)
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,
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)
Dtest_graphlib.py6 from test.support.script_helper import assert_python_ok
242 out = assert_python_ok("-c", code, **env)
Dtest_utf8_mode.py11 from test.support.script_helper import assert_python_ok, assert_python_failure
36 out = assert_python_ok(*args, **kw)
Dtest_multiprocessing_main_handling.py18 assert_python_ok)
168 rc, out, err = assert_python_ok(*run_args, __isolated=False)
Dtest_hash.py10 from test.support.script_helper import assert_python_ok
185 out = assert_python_ok(
Dtest_readline.py16 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/
Dtest_md5sum.py8 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)
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)
310 assert_python_ok(self.script, sdir)
Dtest_pindent.py10 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/
Dtest_tool.py10 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__.py13 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/
Dtest_c_parser.py12 from test.support.script_helper import assert_python_ok
98 assert_python_ok(
/third_party/python/Lib/test/test_importlib/
Dtest_threaded_import.py252 script_helper.assert_python_ok(fn)
258 script_helper.assert_python_ok(fn)
/third_party/python/Lib/test/support/
Dscript_helper.py149 def assert_python_ok(*args, **env_vars): function
294 assert_python_ok("-u", script, "-v")

123