Home
last modified time | relevance | path

Searched refs:assert_python_failure (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_cmd_line.py9 assert_python_ok, assert_python_failure, spawn_python, kill_python,
120 rc, out, err = assert_python_failure('-E', '-z')
126 rc, out, err = assert_python_failure('-z', without='-E')
130 rc, out, err = assert_python_failure('-a', '-z', without='-E')
Dtest_cmd_line_script.py10 assert_python_failure, make_pkg,
220 rc, out, err = assert_python_failure('-m', *args)
247 rc, _, err = assert_python_failure('-m', name)
Dtest_sys.py3 from test.script_helper import assert_python_ok, assert_python_failure
157 rc, out, err = assert_python_failure('-c', 'raise SystemExit, 46')
162 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)')
168 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47L)')
179 rc, out, err = assert_python_failure('-c', code, **env_vars)
Dtest_calendar.py5 from test.script_helper import assert_python_ok, assert_python_failure
503 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
Dtest_parser.py8 from test.script_helper import assert_python_failure
671 rc, out, err = assert_python_failure('-c', e)
/external/python/cpython3/Lib/test/
Dtest_cgitb.py2 from test.support.script_helper import assert_python_failure
41 rc, out, err = assert_python_failure(
56 rc, out, err = assert_python_failure(
Dtest_cmd_line.py12 spawn_python, kill_python, assert_python_ok, assert_python_failure,
29 assert_python_failure('.')
30 assert_python_failure('< .')
114 assert_python_failure('-m')
116 assert_python_failure('-m', 'fnord43520xyz')
119 assert_python_failure('-m', 'runpy', 'fnord43520xyz')
137 assert_python_failure('-c')
139 assert_python_failure('-c', 'raise Exception')
343 rc, out, err = assert_python_failure('-c', "'")
355 rc, out, err = assert_python_failure('-c', code)
[all …]
Dtest_cmd_line_script.py19 assert_python_ok, assert_python_failure, spawn_python, kill_python)
142 rc, out, err = assert_python_failure(
438 rc, out, err = assert_python_failure('-m', *args, __isolated=False)
470 rc, _, err = assert_python_failure('-m', name)
524 exitcode, stdout, stderr = assert_python_failure(script_name)
568 exitcode, stdout, stderr = assert_python_failure(script_name)
576 exitcode, stdout, stderr = assert_python_failure(script_name)
588 exitcode, stdout, stderr = assert_python_failure(script_name)
599 exitcode, stdout, stderr = assert_python_failure(script_name)
608 exitcode, stdout, stderr = assert_python_failure(script_name)
[all …]
Dtest_crashers.py11 from test.support.script_helper import assert_python_failure
30 assert_python_failure(fname)
Dtest_eof.py44 rc, out, err = script_helper.assert_python_failure(file_name)
48 rc, out, err = script_helper.assert_python_failure(file_name)
Dtest_profile.py14 from test.support.script_helper import assert_python_failure, assert_python_ok
104 assert_python_failure('-m', self.profilermodule.__name__, '-m')
107 assert_python_failure('-m', self.profilermodule.__name__,
Dtest_cprofile.py9 from test.support.script_helper import assert_python_failure
63 rc, out, err = assert_python_failure('-m', 'cProfile', '-s', 'demo')
Dtest_script_helper.py19 rc, out, err = script_helper.assert_python_failure('-c', 'sys.exit(0)')
32 script_helper.assert_python_failure('-c', 'import sys; sys.exit(0)')
Dtest_capi.py17 from test.support.script_helper import assert_python_failure, assert_python_ok
197 rc, out, err = assert_python_failure('-c', code)
225 rc, out, err = assert_python_failure('-c', code)
339 rc, out, err = assert_python_failure('-c', code)
624 out = assert_python_failure('-c', code,
Dtest_utf8_mode.py10 from test.support.script_helper import assert_python_ok, assert_python_failure
31 out = assert_python_failure(*args, **kw)
Dtest_trace.py4 from test.support.script_helper import assert_python_ok, assert_python_failure
485 *_, stderr = assert_python_failure('-m', 'trace', *args)
529 assert_python_failure('-m', 'trace', '-l', '--module', 'not_a_module_zzz')
Dtest_exceptions.py1024 rc, out, err = script_helper.assert_python_failure("-Wd", "-c", code)
1043 rc, out, err = script_helper.assert_python_failure("-c", code)
1068 rc, out, err = script_helper.assert_python_failure("-c", code)
1228 rc, out, err = script_helper.assert_python_failure("-c", code % i)
Dtest_calendar.py5 from test.support.script_helper import assert_python_ok, assert_python_failure
797 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
Dtest_threading.py8 from test.support.script_helper import assert_python_ok, assert_python_failure
296 rc, out, err = assert_python_failure("-c", """if 1:
1020 rc, out, err = assert_python_failure("-c", script)
Dtest_gzip.py15 from test.support.script_helper import assert_python_ok, assert_python_failure
792 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '--best')
797 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '-d')
Dtest_tracemalloc.py7 from test.support.script_helper import (assert_python_ok, assert_python_failure,
880 ok, stdout, stderr = assert_python_failure(
911 ok, stdout, stderr = assert_python_failure(*args)
/external/python/cpython3/Lib/test/test_tools/
Dtest_md5sum.py6 from test.support.script_helper import assert_python_ok, assert_python_failure
69 rc, out, err = assert_python_failure(self.script, '-h')
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_loader.py12 from test.support.script_helper import assert_python_failure
291 assert_python_failure("-c", script)
/external/python/cpython2/Lib/test/support/
Dscript_helper.py57 def assert_python_failure(*args, **env_vars): function
/external/python/cpython3/Lib/test/support/
Dscript_helper.py159 def assert_python_failure(*args, **env_vars): function

12