Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1000283

Browse filesBrowse files
authored
GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660)
1 parent 57fef27 commit 1000283
Copy full SHA for 1000283

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎Lib/test/test_pyrepl/test_windows_console.py

Copy file name to clipboardExpand all lines: Lib/test/test_pyrepl/test_windows_console.py
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.