Skip to content

Commit 6917fbf

Browse files
[3.14] GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660) (gh-134666)
(cherry picked from commit 1000283) Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
1 parent 9c6d2db commit 6917fbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_pyrepl/test_windows_console.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ def get_event(self, input_records, **kwargs) -> Console:
386386
self.console._read_input = self.mock
387387
self.console._WindowsConsole__vt_support = kwargs.get("vt_support",
388388
False)
389+
self.console.wait = MagicMock(return_value=True)
389390
event = self.console.get_event(block=False)
390391
return event
391392

0 commit comments

Comments
 (0)