Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #6478 -- Allow tests to be interrupted with system exits and ^C…

…. Thanks,

Bastian Kleineidam.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e5f7ed87d4473edde8c28a073fdd670ceb020e30 1 parent e715ead
@malcolmt malcolmt authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/test/testcases.py
View
2  django/test/testcases.py
@@ -72,6 +72,8 @@ def __call__(self, result=None):
self.client = Client()
try:
self._pre_setup()
+ except (KeyboardInterrupt, SystemExit):
+ raise
except Exception:
import sys
result.addError(self, sys.exc_info())
Please sign in to comment.
Something went wrong with that request. Please try again.