Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_audit.py29 def run_python(self, *args): member in AuditTest
55 returncode, events, stderr = self.run_python("test_finalize_hooks")
88 returncode, events, stderr = self.run_python("test_excepthook")
97 returncode, events, stderr = self.run_python("test_unraisablehook")
109 returncode, events, stderr = self.run_python("test_winreg")
Dtest_subprocess.py1419 def run_python(self, code, **kwargs): member in RunFuncTestCase
1426 cp = self.run_python("import sys; sys.exit(47)")
1433 self.run_python("import sys; sys.exit(47)", check=True)
1447 self.run_python("while True: pass", timeout=0.0001)
1451 cp = self.run_python("print('BDFL')", stdout=subprocess.PIPE)
1455 cp = self.run_python("import sys; sys.stderr.write('BDFL')",
1465 cp = self.run_python(
1472 cp = self.run_python(
1485 output = self.run_python("print('will not be run')",
1492 cp = self.run_python((
[all …]
Dtest_regrtest.py529 def run_python(self, args, **kw): member in BaseTestCase
542 output = self.run_python(args)
587 output = self.run_python(args)
678 return self.run_python(cmdargs, **kw)
1192 self.run_python(cmdargs)
Dtest_cmd_line.py84 def run_python(*args): function
100 rc, out, err = run_python('-c', code)
104 rc, out, err = run_python('-X', 'showrefcount', '-c', code)
/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/cpython2/Lib/test/support/
Dscript_helper.py88 def run_python(*args, **kwargs): function