(self, *args)
| 374 | [b"bacon", b"eggs", b"spam"]) |
| 375 | |
| 376 | def write_windows_console(self, *args): |
| 377 | retcode = subprocess.call(args, |
| 378 | # use a new console to not flood the test output |
| 379 | creationflags=subprocess.CREATE_NEW_CONSOLE, |
| 380 | # use a shell to hide the console window (SW_HIDE) |
| 381 | shell=True) |
| 382 | self.assertEqual(retcode, 0) |
| 383 | |
| 384 | @unittest.skipUnless(sys.platform == 'win32', |
| 385 | 'test specific to the Windows console') |
no test coverage detected