Django

Code

Changeset 7056

Show
Ignore:
Timestamp:
02/02/08 19:24:22 (10 months ago)
Author:
mtredinnick
Message:

Fixed #6478 -- Allow tests to be interrupted with system exits and C. Thanks,
Bastian Kleineidam.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/test/testcases.py

    r7032 r7056  
    7373        try: 
    7474            self._pre_setup() 
     75        except (KeyboardInterrupt, SystemExit): 
     76            raise 
    7577        except Exception: 
    7678            import sys