summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-07-15 09:39:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-07-15 09:39:31 -0400
commitc0da97eb03d4ffe8be8854ad6ff1a2736f169003 (patch)
tree971b019f78a5f1f2118dd5d46b5edb7937661a1f /igor.py
parent4d05ddeeded7f3f594c0614630f467e1bf3fa629 (diff)
downloadpython-coveragepy-git-c0da97eb03d4ffe8be8854ad6ff1a2736f169003.tar.gz
test: change how we keep mismatched actual output
Now when a goldtest has a failure, the actual mismatched output will be written to the tests/actual directory. Along the way, I removed some obsolete settings which were only used by unittest and unittest_mixins, which we no longer use: - COVERAGE_KEEP_TMP - COVERAGE_ENV_ID - $TMPDIR/coverage_test
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/igor.py b/igor.py
index c31d21b3..9db90f89 100644
--- a/igor.py
+++ b/igor.py
@@ -124,9 +124,6 @@ def run_tests(tracer, *runner_args):
"""The actual running of tests."""
if 'COVERAGE_TESTING' not in os.environ:
os.environ['COVERAGE_TESTING'] = "True"
- # $set_env.py: COVERAGE_ENV_ID - Use environment-specific test directories.
- if 'COVERAGE_ENV_ID' in os.environ:
- os.environ['COVERAGE_ENV_ID'] = make_env_id(tracer)
print_banner(label_for_tracer(tracer))
return pytest.main(list(runner_args))