summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-02-10 21:12:25 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-02-10 21:12:25 -0500
commit923c252fc95f5efa360caa4eb48607aec8a2c6b5 (patch)
tree4fe9606c44a13fac9af1bb5cf6dbacef0deffcb3 /igor.py
parent64f0e2b6f9ac48cef3acd626bbd76a240c19a143 (diff)
downloadpython-coveragepy-923c252fc95f5efa360caa4eb48607aec8a2c6b5.tar.gz
Get the tracer right for metacov
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/igor.py b/igor.py
index 8e9410b..17f4114 100644
--- a/igor.py
+++ b/igor.py
@@ -61,7 +61,6 @@ def run_tests(tracer, *nose_args):
return
print_banner(label)
- os.environ["COVERAGE_TEST_TRACER"] = tracer
nose_args = ["nosetests"] + list(nose_args)
nose.core.main(argv=nose_args)
@@ -136,6 +135,7 @@ def do_combine_html():
def do_test_with_tracer(tracer, *noseargs):
"""Run nosetests with a particular tracer."""
+ os.environ["COVERAGE_TEST_TRACER"] = tracer
if os.environ.get("COVERAGE_COVERAGE", ""):
return run_tests_with_coverage(tracer, *noseargs)
else: