Searched defs:assert_python_failure (Results 1 - 17 of 17) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dtest_cgitb.py2 from test.support.script_helper import assert_python_failure namespace
41 rc, out, err = assert_python_failure(
55 rc, out, err = assert_python_failure(
H A Dtest_crashers.py11 from test.support.script_helper import assert_python_failure namespace
30 assert_python_failure(fname)
H A Dtest_trace.py4 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
380 *_, stderr = assert_python_failure('-m', 'trace', *args)
H A Dtest_capi.py16 from test.support.script_helper import assert_python_failure namespace
192 rc, out, err = assert_python_failure('-c', code)
219 rc, out, err = assert_python_failure('-c', code)
597 out = assert_python_failure('-c', code,
H A Dtest_parser.py6 from test.support.script_helper import assert_python_failure namespace
705 rc, out, err = assert_python_failure('-c', e)
H A Dtest_tracemalloc.py7 from test.support.script_helper import (assert_python_ok, assert_python_failure, namespace
839 ok, stdout, stderr = assert_python_failure(
863 ok, stdout, stderr = assert_python_failure(*args)
H A Dtest_calendar.py5 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
724 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
H A Dtest_threading.py8 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
286 rc, out, err = assert_python_failure("-c", """if 1:
904 rc, out, err = assert_python_failure("-c", script)
H A Dtest_sys.py2 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
129 rc, out, err = assert_python_failure('-c', 'raise SystemExit(47)')
135 rc, out, err = assert_python_failure('-c', code, **env_vars)
H A Dtest_inspect.py30 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
3581 _, out, err = assert_python_failure('-m', 'inspect',
/external/python/cpython3/Lib/test/test_tools/
H A Dtest_md5sum.py6 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
69 rc, out, err = assert_python_failure(self.script, '-h')
/external/python/cpython2/Lib/test/
H A Dscript_helper.py57 def assert_python_failure(*args, **env_vars): function
H A Dtest_calendar.py5 from test.script_helper import assert_python_ok, assert_python_failure namespace
503 rc, stdout, stderr = assert_python_failure('-m', 'calendar', *args)
H A Dtest_parser.py6 from test.script_helper import assert_python_failure namespace
596 rc, out, err = assert_python_failure('-c', e)
H A Dtest_sys.py3 from test.script_helper import assert_python_ok, assert_python_failure namespace
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', code, **env_vars)
/external/python/cpython3/Lib/test/support/
H A Dscript_helper.py152 def assert_python_failure(*args, **env_vars): function
/external/python/cpython3/Lib/test/test_warnings/
H A D__init__.py10 from test.support.script_helper import assert_python_ok, assert_python_failure namespace
1053 rc, stdout, stderr = assert_python_failure("-Werror::DeprecationWarning", "-c",

Completed in 575 milliseconds