summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/test_unix_console.py
diff options
context:
space:
mode:
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>2025-04-19 01:12:40 (GMT)
committerGitHub <noreply@github.com>2025-04-19 01:12:40 (GMT)
commit815061cbab0ff7e3b0062191bae846a83c23c79a (patch)
tree1233cf2f85a248657698daf0a723471e90b26f13 /Lib/test/test_pyrepl/test_unix_console.py
parentc9a855a9e0141e50c432c960e2435977464d7251 (diff)
downloadcpython-815061cbab0ff7e3b0062191bae846a83c23c79a.zip
cpython-815061cbab0ff7e3b0062191bae846a83c23c79a.tar.gz
cpython-815061cbab0ff7e3b0062191bae846a83c23c79a.tar.bz2
speedup test_pyrepl (#132688)
speedup test_unix_console.py and test_windows_console.py
Diffstat (limited to 'Lib/test/test_pyrepl/test_unix_console.py')
-rw-r--r--Lib/test/test_pyrepl/test_unix_console.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_pyrepl/test_unix_console.py b/Lib/test/test_pyrepl/test_unix_console.py
index 057cdd1..2f5c150 100644
--- a/Lib/test/test_pyrepl/test_unix_console.py
+++ b/Lib/test/test_pyrepl/test_unix_console.py
@@ -23,6 +23,7 @@ def unix_console(events, **kwargs):
height = kwargs.get("height", 25)
width = kwargs.get("width", 80)
console.getheightwidth = MagicMock(side_effect=lambda: (height, width))
+ console.wait = MagicMock()
console.prepare()
for key, val in kwargs.items():