Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_eof.py52 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
61 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
70 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
79 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
130 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
138 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
149 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
159 rc, out, err = script_helper.assert_python_failure('-X', 'utf8', file_name)
Dtest_cmd_line.py15 spawn_python, kill_python, assert_python_ok, assert_python_failure,
32 assert_python_failure('.')
33 assert_python_failure('< .')
178 assert_python_failure('-m')
180 assert_python_failure('-m', 'fnord43520xyz')
183 assert_python_failure('-m', 'runpy', 'fnord43520xyz')
211 assert_python_failure('-c')
213 assert_python_failure('-c', 'raise Exception')
475 rc, out, err = assert_python_failure('-c', "'")
487 rc, out, err = assert_python_failure('-c', code)
[all …]
Dtest_cmd_line_script.py20 assert_python_ok, assert_python_failure, spawn_python, kill_python)
145 rc, out, err = assert_python_failure(
456 rc, out, err = assert_python_failure('-m', *args, __isolated=False)
487 rc, _, err = assert_python_failure('-m', name)
551 exitcode, stdout, stderr = assert_python_failure(script_name)
601 exitcode, stdout, stderr = assert_python_failure(script_name)
609 exitcode, stdout, stderr = assert_python_failure(script_name)
621 exitcode, stdout, stderr = assert_python_failure(script_name)
632 exitcode, stdout, stderr = assert_python_failure(script_name)
641 exitcode, stdout, stderr = assert_python_failure(script_name)
[all …]
Dtest_profile.py14 from test.support.script_helper import assert_python_failure, assert_python_ok
109 assert_python_failure('-m', self.profilermodule.__name__, '-m')
112 assert_python_failure('-m', self.profilermodule.__name__,
Dtest_cprofile.py9 from test.support.script_helper import assert_python_failure
145 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_utf8_mode.py11 from test.support.script_helper import assert_python_ok, assert_python_failure
32 out = assert_python_failure(*args, **kw)
Dtest_compileall.py322 _, _, err = script_helper.assert_python_failure(modcode)
354 rc, out, err = script_helper.assert_python_failure(bc)
375 rc, out, err = script_helper.assert_python_failure(bc)
398 rc, out, err = script_helper.assert_python_failure(bc)
415 rc, out, err = script_helper.assert_python_failure(bc)
566 rc, out, err = script_helper.assert_python_failure(
776 rc, out, err = script_helper.assert_python_failure(fn, __isolated=False)
885 rc, out, err = script_helper.assert_python_failure(bc)
Dtest_source_encoding.py157 retcode, stdout, stderr = script_helper.assert_python_failure(TESTFN)
275 rc, stdout, stderr = script_helper.assert_python_failure(fn)
Dtest_trace.py6 from test.support.script_helper import assert_python_ok, assert_python_failure
510 *_, stderr = assert_python_failure('-m', 'trace', *args)
562 assert_python_failure('-m', 'trace', '-l', '--module', 'not_a_module_zzz')
Dtest_perf_profiler.py12 assert_python_failure,
215 rc, out, err = assert_python_failure("-c", code)
Dtest_sys.py16 from test.support.script_helper import assert_python_ok, assert_python_failure
211 rc, out, err = assert_python_failure('-c', 'import sys; sys.exit(0xffff_ffff)')
218 rc, out, err = assert_python_failure('-c', 'import sys; sys.exit(2**128)')
245 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)')
251 rc, out, err = assert_python_failure('-c', code, **env_vars)
1894 rc, out, err = assert_python_failure('-c', code)
Dtest_tabnanny.py298 _, out, err = script_helper.assert_python_failure('-m', 'tabnanny', *args)
Dtest_tracemalloc.py7 from test.support.script_helper import (assert_python_ok, assert_python_failure,
945 ok, stdout, stderr = assert_python_failure(
976 ok, stdout, stderr = assert_python_failure(*args)
Dtest_threading.py9 from test.support.script_helper import assert_python_ok, assert_python_failure
435 rc, out, err = assert_python_failure("-c", """if 1:
1546 rc, out, err = assert_python_failure("-c", script)
1781 assert_python_failure("-c", script)
Dtest_exceptions.py1459 rc, out, err = script_helper.assert_python_failure("-Wd", "-c", code)
1479 rc, out, err = script_helper.assert_python_failure("-c", code)
1556 rc, out, err = script_helper.assert_python_failure("-c", code)
1724 rc, out, err = script_helper.assert_python_failure("-c", code % i)
2023 _rc, _out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN)
Dtest_gzip.py15 from test.support.script_helper import assert_python_ok, assert_python_failure
1037 rc, out, err = assert_python_failure('-m', 'gzip', '-d', 'thisisatest.out')
1087 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '--best')
1092 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '-d')
Dtest_calendar.py5 from test.support.script_helper import assert_python_ok, assert_python_failure
981 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
Dtest_py_compile.py251 return script_helper.assert_python_failure('-m', 'py_compile', *args)
Dtest_unicodedata.py291 result = script_helper.assert_python_failure("-c", code)
/external/python/cpython3/Lib/test/test_capi/
Dtest_mem.py8 from test.support.script_helper import assert_python_failure, assert_python_ok
24 out = assert_python_failure(
Dtest_exceptions.py11 from test.support.script_helper import assert_python_failure, assert_python_ok
118 rc, out, err = assert_python_failure('-sSI', '-c', code)
Dtest_misc.py32 from test.support.script_helper import assert_python_failure, assert_python_ok, run_python_until_end
222 rc, out, err = assert_python_failure('-c', code)
250 rc, out, err = assert_python_failure('-c', code)
285 rc, out, err = assert_python_failure('-c', code)
399 rc, out, err = assert_python_failure('-c', code)
/external/python/cpython3/Lib/test/support/
Dscript_helper.py183 def assert_python_failure(*args, **env_vars): function
/external/python/cpython3/Lib/test/test_interpreters/
Dutils.py475 def assert_python_failure(self, *argv): member in TestBase

12