]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sun, 25 May 2025 18:17:13 +0000 (20:17 +0200)
committerGitHub <noreply@github.com>
Sun, 25 May 2025 18:17:13 +0000 (20:17 +0200)
Lib/test/test_pyrepl/test_windows_console.py

index a52ae96a83ddde372d2285667d8365d6cea8d28f..f9607e02c604ff8cf764e23a6b2ee5f321b96337 100644 (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