(self)
| 71 | creationflags=subprocess.CREATE_NEW_CONSOLE) |
| 72 | |
| 73 | def test_kbhit(self): |
| 74 | code = dedent(''' |
| 75 | import msvcrt |
| 76 | assert msvcrt.kbhit() == 0 |
| 77 | ''') |
| 78 | self.run_in_separated_process(code) |
| 79 | |
| 80 | def test_getch(self): |
| 81 | msvcrt.ungetch(b'c') |
nothing calls this directly
no test coverage detected