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
commit7bebd77165852ba165406df1587f8b9a69ab1363 (patch)
tree4a58b56e3a9830e369af674bb8a52dcfe0805fe9 /igor.py
parent26566195fe41c82e590d27e2e9c0ebc1ccf7485b (diff)
downloadpython-coveragepy-git-7bebd77165852ba165406df1587f8b9a69ab1363.tar.gz
An option to not run the PyTracer tests
--HG-- branch : c-coroutine
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 e0071bd8..07e13f68 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"):