/external/python/cpython2/Lib/json/tests/ |
H A D | test_tool.py | 7 from test.script_helper import assert_python_ok namespace 57 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile)
|
/external/python/cpython2/Lib/test/ |
H A D | test_readline.py | 7 from test.script_helper import assert_python_ok namespace 54 rc, stdout, stderr = assert_python_ok('-c', 'import readline',
|
H A D | script_helper.py | 50 def assert_python_ok(*args, **env_vars): function
|
H A D | test_tools.py | 18 from test.script_helper import assert_python_ok, temp_dir namespace 34 assert_python_ok(self.script) 37 rc, out, err = assert_python_ok(self.script, '-h') 70 rc, out, err = assert_python_ok(self.script, '-d', data_path) 83 rc, out, err = assert_python_ok(self.script, '-c', data_path) 94 rc, out, err = assert_python_ok(self.script, '-r', data_path)
|
H A D | test_calendar.py | 5 from test.script_helper import assert_python_ok, assert_python_failure namespace 500 return assert_python_ok('-m', 'calendar', *args)[1]
|
H A D | test_pydoc.py | 18 from test.script_helper import assert_python_ok namespace 245 rc, out, err = assert_python_ok('-B', pydoc.__file__, *args, **env)
|
H A D | test_os.py | 21 from test.script_helper import assert_python_ok namespace 599 assert_python_ok('-c', code)
|
H A D | test_sys.py | 3 from test.script_helper import assert_python_ok, assert_python_failure namespace 129 rc, out, err = assert_python_ok('-c', 'import sys; sys.exit()')
|
H A D | test_threading.py | 5 from test.script_helper import assert_python_ok namespace 438 _, out, err = assert_python_ok("-c", code) 808 rc, out, err = assert_python_ok("-c", script) 836 rc, out, err = assert_python_ok("-c", script) 864 rc, out, err = assert_python_ok("-c", script)
|
H A D | test_warnings.py | 9 from test.script_helper import assert_python_ok namespace 419 rc, out, err = assert_python_ok("-Wxxx", "-c", "pass") 425 rc, out, err = assert_python_ok("-Wi", "-c", 579 rc, stdout, stderr = assert_python_ok("-c",
|
H A D | test_ssl.py | 7 from test.script_helper import assert_python_ok namespace 1246 assert_python_ok("-c", https_is_verified, **extra_env) 1249 assert_python_ok("-c", https_is_not_verified, **extra_env) 1253 assert_python_ok("-c", https_is_verified, **extra_env)
|