From a6c166617210a0b6bbdada9372f94bbc05c0382f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 31 Dec 2016 09:10:27 -0500 Subject: No need for two environment variables that do the same thing --- igor.py | 5 +---- tox.ini | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/igor.py b/igor.py index daf1053e..9d2d43a0 100644 --- a/igor.py +++ b/igor.py @@ -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) diff --git a/tox.ini b/tox.ini index 8e698ccf..0e40f213 100644 --- a/tox.ini +++ b/tox.ini @@ -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 -- cgit v1.2.1