summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/igor.py b/igor.py
index 77c97d3c..07a22311 100644
--- a/igor.py
+++ b/igor.py
@@ -105,10 +105,10 @@ def run_tests(tracer, *nose_args):
if 'COVERAGE_PYTEST' in os.environ:
import pytest
runner_args = list(nose_args)
- pytest.main(runner_args)
+ return pytest.main(runner_args)
else:
nose_args = ["nosetests"] + list(nose_args)
- nose.core.main(argv=nose_args)
+ return nose.core.main(argv=nose_args)
def run_tests_with_coverage(tracer, *nose_args):