summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-21 07:11:33 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-11-21 07:11:33 -0500
commitb94ad59aaa14209385e65c9ede38c618c3377097 (patch)
tree1832ef1f2438af5c139b7efd84273e8d83298d23
parent50a9965ec92607036e8b7924964a08edd60c0440 (diff)
downloadpython-coveragepy-git-b94ad59aaa14209385e65c9ede38c618c3377097.tar.gz
Didn't know why we needed it, and now it seems like we don't.
-rw-r--r--igor.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/igor.py b/igor.py
index 07641f95..88093826 100644
--- a/igor.py
+++ b/igor.py
@@ -155,11 +155,8 @@ def run_tests_with_coverage(tracer, *runner_args):
sys.modules.update(covmods)
# Run tests, with the arguments from our command line.
- try:
- run_tests(tracer, *runner_args)
- except SystemExit:
- # nose3 seems to raise SystemExit, not sure why?
- pass
+ run_tests(tracer, *runner_args)
+
finally:
cov.stop()
os.remove(pth_path)