Home
last modified time | relevance | path

Searched refs:run_python (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_zipimport_support.py17 from test.script_helper import (spawn_python, kill_python, run_python,
206 exit_code, data = run_python(script_name)
215 exit_code, data = run_python(zip_name)
Dtest_cmd_line_script.py8 from test.script_helper import (run_python,
74 exit_code, data = run_python(*run_args)
94 exit_code, data = run_python(*run_args)
Dtest_regrtest.py214 def run_python(self, args, **kw): member in BaseTestCase
243 output = self.run_python(args)
335 return self.run_python(cmdargs, **kw)
Dtest_fileio.py16 from test.script_helper import run_python
484 _, out = run_python('-c', 'import _io; _io.FileIO(%r)' % filename, env=env)
/external/python/cpython3/Lib/test/
Dtest_subprocess.py1382 def run_python(self, code, **kwargs): member in RunFuncTestCase
1389 cp = self.run_python("import sys; sys.exit(47)")
1396 self.run_python("import sys; sys.exit(47)", check=True)
1401 cp = self.run_python("import sys; sys.exit(0)", check=True)
1410 self.run_python("while True: pass", timeout=0.0001)
1414 cp = self.run_python("print('BDFL')", stdout=subprocess.PIPE)
1418 cp = self.run_python("import sys; sys.stderr.write('BDFL')",
1428 cp = self.run_python(
1435 cp = self.run_python(
1448 output = self.run_python("print('will not be run')",
[all …]
Dtest_cmd_line.py85 def run_python(*args): function
101 rc, out, err = run_python('-c', code)
105 rc, out, err = run_python('-X', 'showrefcount', '-c', code)
Dtest_regrtest.py529 def run_python(self, args, **kw): member in BaseTestCase
562 output = self.run_python(args)
649 return self.run_python(cmdargs, **kw)
/external/python/cpython2/Lib/test/support/
Dscript_helper.py88 def run_python(*args, **kwargs): function