[3.14] GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660) (gh-134666)

(cherry picked from commit 1000283694)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-05-25 20:43:07 +02:00 committed by GitHub
parent 9c6d2dbe26
commit 6917fbf98f
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