mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660)
This commit is contained in:
parent
57fef27cfc
commit
1000283694
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue