GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660)

This commit is contained in:
Chris Eibl 2025-05-25 20:17:13 +02:00 committed by GitHub
parent 57fef27cfc
commit 1000283694
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -386,6 +386,7 @@ class WindowsConsoleGetEventTests(TestCase):
self.console._read_input = self.mock
self.console._WindowsConsole__vt_support = kwargs.get("vt_support",
False)
self.console.wait = MagicMock(return_value=True)
event = self.console.get_event(block=False)
return event