[Python-checkins] r66988 - sandbox/trunk/2to3/test.py

benjamin.peterson python-checkins at python.org
Mon Oct 20 23:47:44 CEST 2008


Author: benjamin.peterson
Date: Mon Oct 20 23:47:44 2008
New Revision: 66988

Log:
don't traceback on KeyboardInterrupts

Modified:
   sandbox/trunk/2to3/test.py

Modified: sandbox/trunk/2to3/test.py
==============================================================================
--- sandbox/trunk/2to3/test.py	(original)
+++ sandbox/trunk/2to3/test.py	Mon Oct 20 23:47:44 2008
@@ -35,4 +35,7 @@
 else:
     suite = tests.all_tests
 
-tests.support.run_all_tests(tests=suite)
+try:
+    tests.support.run_all_tests(tests=suite)
+except KeyboardInterrupt:
+    pass


More information about the Python-checkins mailing list