summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/igor.py b/igor.py
index 4ea65fad..b81692dd 100644
--- a/igor.py
+++ b/igor.py
@@ -79,7 +79,8 @@ def run_tests(tracer, *nose_args):
print(msg)
return
- os.environ['COVERAGE_TESTING'] = "True"
+ if 'COVERAGE_TESTING' not in os.environ:
+ os.environ['COVERAGE_TESTING'] = "True"
print_banner(label)
nose_args = ["nosetests"] + list(nose_args)
nose.core.main(argv=nose_args)