summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-10-19 06:12:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-10-19 07:05:46 -0400
commitf0414651b855de1f2d834a3c3a99d56b6c2a0753 (patch)
treef07d3d58b8571e139050594e30aff746d0cddd8d /igor.py
parente57549076220764ace6f2b67da3600ff5ae33f02 (diff)
downloadpython-coveragepy-git-f0414651b855de1f2d834a3c3a99d56b6c2a0753.tar.gz
Clean up a metacov .pth file that could get left behind.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index 39d75195..750ea688 100644
--- a/igor.py
+++ b/igor.py
@@ -106,6 +106,7 @@ def run_tests_with_coverage(tracer, *runner_args):
# Create the .pth file that will let us measure coverage in sub-processes.
# The .pth file seems to have to be alphabetically after easy-install.pth
# or the sys.path entries aren't created right?
+ # There's an entry in "make clean" to get rid of this file.
pth_dir = os.path.dirname(pytest.__file__)
pth_path = os.path.join(pth_dir, "zzz_metacov.pth")
with open(pth_path, "w") as pth_file: