(self)
| 1823 | self.run_python("while True: pass", timeout=0.0001) |
| 1824 | |
| 1825 | def test_capture_stdout(self): |
| 1826 | # capture stdout with zero return code |
| 1827 | cp = self.run_python("print('BDFL')", stdout=subprocess.PIPE) |
| 1828 | self.assertIn(b'BDFL', cp.stdout) |
| 1829 | |
| 1830 | def test_capture_stderr(self): |
| 1831 | cp = self.run_python("import sys; sys.stderr.write('BDFL')", |
nothing calls this directly
no test coverage detected