summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-10-14 17:13:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-10-14 17:13:46 -0400
commit83ccf7ad923f75c736c42bf9117a57a156042c4a (patch)
treec11febaebbcebef54abcbdcd25285ff4a62178ba /igor.py
parent7a5e8a4fa39c9840e292120783b69566ac15f1e5 (diff)
downloadpython-coveragepy-git-83ccf7ad923f75c736c42bf9117a57a156042c4a.tar.gz
Have to rethink how to use contexts ourselves
Contexts fail when using PYTRACER, and we want to measure coverage under PYTRACER (at least for PyPy), so we need a more sophisticated strategy for how to use contexts.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/igor.py b/igor.py
index 5d80ebe3..39d75195 100644
--- a/igor.py
+++ b/igor.py
@@ -118,7 +118,6 @@ def run_tests_with_coverage(tracer, *runner_args):
version += "_%s%s" % sys.pypy_version_info[:2]
suffix = "%s%s_%s_%s" % (impl, version, tracer, platform.platform())
- os.environ['COVERAGE_PYVERSION'] = version
os.environ['COVERAGE_METAFILE'] = os.path.abspath(".metacov."+suffix)
import coverage
@@ -160,7 +159,6 @@ def do_combine_html():
"""Combine data from a meta-coverage run, and make the HTML and XML reports."""
import coverage
os.environ['COVERAGE_HOME'] = os.getcwd()
- os.environ['COVERAGE_PYVERSION'] = ''
os.environ['COVERAGE_METAFILE'] = os.path.abspath(".metacov")
cov = coverage.Coverage(config_file="metacov.ini")
cov.load()