summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-07-20 20:30:09 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-07-20 20:30:09 -0400
commit8bc691e51c6b647fe4b28fa067bd0d842aa71c60 (patch)
tree4fa274f3278b8c8eecb121f8e8667a551c1a416a /igor.py
parent3b6f81666c1c37a5d0915ec579900aaf17a6059b (diff)
downloadpython-coveragepy-8bc691e51c6b647fe4b28fa067bd0d842aa71c60.tar.gz
An option to not run the PyTracer tests
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index e0071bd..07e13f6 100644
--- a/igor.py
+++ b/igor.py
@@ -45,6 +45,9 @@ def run_tests(tracer, *nose_args):
import nose.core
if tracer == "py":
label = "with Python tracer"
+ if os.environ.get("COVERAGE_NO_PYTRACER"):
+ print("Skipping tests, don't want PyTracer")
+ return
else:
label = "with C tracer"
if os.environ.get("COVERAGE_NO_EXTENSION"):