(self)
| 384 | @unittest.skipUnless(sys.platform == 'win32', |
| 385 | 'test specific to the Windows console') |
| 386 | def test_write_windows_console(self): |
| 387 | # Issue #11395: the Windows console returns an error (12: not enough |
| 388 | # space error) on writing into stdout if stdout mode is binary and the |
| 389 | # length is greater than 66,000 bytes (or less, depending on heap |
| 390 | # usage). |
| 391 | code = "print('x' * 100000)" |
| 392 | self.write_windows_console(sys.executable, "-c", code) |
| 393 | self.write_windows_console(sys.executable, "-u", "-c", code) |
| 394 | |
| 395 | def fdopen_helper(self, *args): |
| 396 | fd = os.open(os_helper.TESTFN, os.O_RDONLY) |
nothing calls this directly
no test coverage detected