summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-21 07:44:08 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-21 08:15:29 -0500
commit0922240cfb5e549a83f56a12629a16ad3fe2b498 (patch)
treeff90dc91a7cf5430fb6c76899be88744ff5f707a /coverage/files.py
parent63d41f41d7719f1ef744bb4a25295de0e8006b53 (diff)
downloadpython-coveragepy-git-0922240cfb5e549a83f56a12629a16ad3fe2b498.tar.gz
fix(test): make .pth files once per session
The old way, we made and deleted .pth file around each test. This caused problems because pth files are written to a common location shared by all test workers, so tests would fail because pth files were being deleted as other workers were trying to use them. Now we make the pth file once per session. There's still a chance that a worker will be using a pth file just as another worker is ending and removing it.
Diffstat (limited to 'coverage/files.py')
0 files changed, 0 insertions, 0 deletions