(self)
| 469 | self.assertEqual(b'3\n4\n', err) |
| 470 | |
| 471 | def test_unmached_quote(self): |
| 472 | # Issue #10206: python program starting with unmatched quote |
| 473 | # spewed spaces to stdout |
| 474 | rc, out, err = assert_python_failure('-c', "'") |
| 475 | self.assertRegex(err.decode('ascii', 'ignore'), 'SyntaxError') |
| 476 | self.assertEqual(b'', out) |
| 477 | |
| 478 | def test_stdout_flush_at_shutdown(self): |
| 479 | # Issue #5319: if stdout.flush() fails at shutdown, an error should |
nothing calls this directly
no test coverage detected