Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_cmd_line.py14 spawn_python, kill_python, assert_python_ok, assert_python_failure,
34 assert_python_failure('.')
35 assert_python_failure('< .')
162 assert_python_failure('-m')
164 assert_python_failure('-m', 'fnord43520xyz')
167 assert_python_failure('-m', 'runpy', 'fnord43520xyz')
195 assert_python_failure('-c')
197 assert_python_failure('-c', 'raise Exception')
459 rc, out, err = assert_python_failure('-c', "'")
471 rc, out, err = assert_python_failure('-c', code)
[all …]
Dtest_cmd_line_script.py21 assert_python_ok, assert_python_failure, spawn_python, kill_python)
146 rc, out, err = assert_python_failure(
455 rc, out, err = assert_python_failure('-m', *args, __isolated=False)
486 rc, _, err = assert_python_failure('-m', name)
550 exitcode, stdout, stderr = assert_python_failure(script_name)
595 exitcode, stdout, stderr = assert_python_failure(script_name)
603 exitcode, stdout, stderr = assert_python_failure(script_name)
615 exitcode, stdout, stderr = assert_python_failure(script_name)
626 exitcode, stdout, stderr = assert_python_failure(script_name)
635 exitcode, stdout, stderr = assert_python_failure(script_name)
[all …]
Dtest_cgitb.py2 from test.support.script_helper import assert_python_failure
42 rc, out, err = assert_python_failure(
58 rc, out, err = assert_python_failure(
Dtest_eof.py36 rc, out, err = script_helper.assert_python_failure(file_name)
63 rc, out, err = script_helper.assert_python_failure(file_name)
69 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_crashers.py11 from test.support.script_helper import assert_python_failure
30 assert_python_failure(fname)
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_compileall.py318 _, _, err = script_helper.assert_python_failure(modcode)
350 rc, out, err = script_helper.assert_python_failure(bc)
369 rc, out, err = script_helper.assert_python_failure(bc)
386 rc, out, err = script_helper.assert_python_failure(bc)
531 rc, out, err = script_helper.assert_python_failure(
739 rc, out, err = script_helper.assert_python_failure(fn, __isolated=False)
848 rc, out, err = script_helper.assert_python_failure(bc)
Dtest_utf8_mode.py11 from test.support.script_helper import assert_python_ok, assert_python_failure
33 out = assert_python_failure(*args, **kw)
Dtest_trace.py6 from test.support.script_helper import assert_python_ok, assert_python_failure
503 *_, stderr = assert_python_failure('-m', 'trace', *args)
555 assert_python_failure('-m', 'trace', '-l', '--module', 'not_a_module_zzz')
Dtest_source_encoding.py157 retcode, stdout, stderr = script_helper.assert_python_failure(TESTFN)
274 rc, stdout, stderr = script_helper.assert_python_failure(fn)
Dtest_gzip.py16 from test.support.script_helper import assert_python_ok, assert_python_failure
803 rc, out, err = assert_python_failure('-m', 'gzip', '-d', 'thisisatest.out')
853 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '--best')
858 rc, out, err = assert_python_failure('-m', 'gzip', '--fast', '-d')
Dtest_exceptions.py1372 rc, out, err = script_helper.assert_python_failure("-Wd", "-c", code)
1391 rc, out, err = script_helper.assert_python_failure("-c", code)
1464 rc, out, err = script_helper.assert_python_failure("-c", code)
1626 rc, out, err = script_helper.assert_python_failure("-c", code % i)
2489 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN)
2502 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN)
2515 rc, out, err = script_helper.assert_python_failure('-Wd', '-X', 'utf8', TESTFN)
Dtest_tracemalloc.py7 from test.support.script_helper import (assert_python_ok, assert_python_failure,
939 ok, stdout, stderr = assert_python_failure(
970 ok, stdout, stderr = assert_python_failure(*args)
Dtest_calendar.py5 from test.support.script_helper import assert_python_ok, assert_python_failure
846 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
Dtest_threading.py9 from test.support.script_helper import assert_python_ok, assert_python_failure
369 rc, out, err = assert_python_failure("-c", """if 1:
1258 rc, out, err = assert_python_failure("-c", script)
Dtest_sys.py14 from test.support.script_helper import assert_python_ok, assert_python_failure
219 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)')
225 rc, out, err = assert_python_failure('-c', code, **env_vars)
1677 rc, out, err = assert_python_failure('-c', code)
/aosp_15_r20/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)
/aosp_15_r20/external/python/cpython3/Lib/test/test_capi/
Dtest_misc.py24 from test.support.script_helper import assert_python_failure, assert_python_ok
270 rc, out, err = assert_python_failure('-c', code)
298 rc, out, err = assert_python_failure('-c', code)
333 rc, out, err = assert_python_failure('-c', code)
539 rc, out, err = assert_python_failure('-c', code)
767 rc, out, err = assert_python_failure('-sSI', '-c', code)
1148 out = assert_python_failure(
/aosp_15_r20/external/python/cpython3/Lib/test/test_tools/
Dtest_md5sum.py8 from test.support.script_helper import assert_python_ok, assert_python_failure
72 rc, out, err = assert_python_failure(self.script, '-h')

12