Skip to content
Prev Previous commit
Next Next commit
Update Lib/test/test_msvcrt.py
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
aisk and terryjreedy authored Sep 7, 2023
commit 7ded8fcaf9dd573c5d01f3943cbf39c6fe883fbc
2 changes: 1 addition & 1 deletion Lib/test/test_msvcrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_get_osfhandle(self):

class TestConsoleIO(unittest.TestCase):
Comment thread
aisk marked this conversation as resolved.
def test_kbhit(self):
msvcrt.kbhit()
self.assertEqual(msvcrt.kbhit(), 0)

def test_getch(self):
msvcrt.ungetch(b'c')
Expand Down