Lines Matching refs:run_python
1445 def run_python(self, code, **kwargs): member in RunFuncTestCase
1452 cp = self.run_python("import sys; sys.exit(47)")
1459 self.run_python("import sys; sys.exit(47)", check=True)
1473 self.run_python("while True: pass", timeout=0.0001)
1477 cp = self.run_python("print('BDFL')", stdout=subprocess.PIPE)
1481 cp = self.run_python("import sys; sys.stderr.write('BDFL')",
1491 cp = self.run_python(
1498 cp = self.run_python(
1511 output = self.run_python("print('will not be run')",
1518 cp = self.run_python((
1533 cp = self.run_python(('import sys, os;'
1567 cp = self.run_python(("import sys;"
1581 output = self.run_python("print('will not be run')",
1593 output = self.run_python("print('will not be run')",