diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-31 09:10:27 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-31 09:10:27 -0500 |
commit | 0e16713735ca0be15bec7000330ac83cc542ee9c (patch) | |
tree | 4d8e4193f4f51602db0f76d4c8e3d222ac457295 | |
parent | 77517450f7164ab471aad3c8776879306bc33787 (diff) | |
download | python-coveragepy-0e16713735ca0be15bec7000330ac83cc542ee9c.tar.gz |
No need for two environment variables that do the same thing
-rw-r--r-- | igor.py | 5 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -89,10 +89,7 @@ def should_skip(tracer): if tracer == "py": skipper = os.environ.get("COVERAGE_NO_PYTRACER") else: - skipper = ( - os.environ.get("COVERAGE_NO_EXTENSION") or - os.environ.get("COVERAGE_NO_CTRACER") - ) + skipper = os.environ.get("COVERAGE_NO_CTRACER") if skipper: msg = "Skipping tests " + label_for_tracer(tracer) @@ -29,7 +29,7 @@ install_command = python -m pip install -U {opts} {packages} passenv = * setenv = - pypy,pypy{2,3}: COVERAGE_NO_EXTENSION=no C extension under PyPy + pypy,pypy{2,3}: COVERAGE_NO_CTRACER=no C extension under PyPy commands = python setup.py --quiet clean develop |