summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_pyrepl/support.py')
-rw-r--r--Lib/test/test_pyrepl/support.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pyrepl/support.py b/Lib/test/test_pyrepl/support.py
index e807b5f..70e1228 100644
--- a/Lib/test/test_pyrepl/support.py
+++ b/Lib/test/test_pyrepl/support.py
@@ -75,6 +75,8 @@ def handle_all_events(
reader.handle1()
except StopIteration:
pass
+ except KeyboardInterrupt:
+ pass
return reader, console