Skip to content

Commit

Permalink
Try windows tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbrittain committed Sep 16, 2023
1 parent 19ffe2b commit 7ef09ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_screen.py
Expand Up @@ -835,7 +835,8 @@ def test_wait(self):
"""
def internal_checks(screen):
# Clear any outstanding events - sometimes windows has system events waiting.
screen.get_event()
while screen.get_event() != None:
pass
start = time.time()
screen.wait_for_input(0.1)
self.assertGreaterEqual(time.time() - start, 0.1)
Expand Down

0 comments on commit 7ef09ad

Please sign in to comment.