diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-10-19 06:12:39 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-10-19 07:05:46 -0400 |
commit | f0414651b855de1f2d834a3c3a99d56b6c2a0753 (patch) | |
tree | f07d3d58b8571e139050594e30aff746d0cddd8d /igor.py | |
parent | e57549076220764ace6f2b67da3600ff5ae33f02 (diff) | |
download | python-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.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |