diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-09-02 10:20:47 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-09-02 10:20:47 -0400 |
commit | c4b8795e2984bd51f2a6a43a88259c65d62b4a6e (patch) | |
tree | 892478e3ed2f4108c3c8d5b690b18d5857437b6c /igor.py | |
parent | 885552699ffa4e5293e24c2d8e7bc75ad75c3c07 (diff) | |
download | python-coveragepy-c4b8795e2984bd51f2a6a43a88259c65d62b4a6e.tar.gz |
Don't attempt the C extension under PyPy.
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,9 @@ def do_test_with_tracer(args): label = "with Python tracer" else: label = "with C tracer" + if os.environ.get("COVERAGE_NO_EXTENSION"): + print("Skipping tests, no C extension in this environment") + return print_banner(label) os.environ["COVERAGE_TEST_TRACER"] = tracer nose_args = ["nosetests"] + args[1:] |