diff options
Diffstat (limited to 'coverage/misc.py')
-rw-r--r-- | coverage/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/misc.py b/coverage/misc.py index 7f85a0eb..c5f8f20e 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -284,7 +284,7 @@ class ExceptionDuringRun(CoverageException): pass -class StopEverything(unittest.SkipTest): +class StopEverything(unittest.SkipTest if env.TESTING else object): """An exception that means everything should stop. This derives from SkipTest so that tests that spring this trap will be |