Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660)
(cherry picked from commit 1000283)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
  • Loading branch information
chris-eibl authored and miss-islington committed May 25, 2025
commit 0422edfc2899ca06283e5dc73b48ca64b9162a82
1 change: 1 addition & 0 deletions Lib/test/test_pyrepl/test_windows_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def get_event(self, input_records, **kwargs) -> Console:
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

Expand Down