3 ms·
The fix is described at <a href="https://github.com/nedbat/coveragepy/commit/e4b8389b27ce4e7681788b8a28dc875ff4991739">.. https://github.com/nedbat/coveragepy/c
by mikewarot 7y ago
The fix is described at <a href="https://github.com/nedbat/coveragepy/commit/e4b8389b27ce4e7681788b8a28dc875ff4991739">.. https://github.com/nedbat/coveragepy/commit/e4b8389b27ce4e76.... it was simple, but elusive because of unsafe assumptions made in the name of performance.
"Put the filename calc back in _connect. Fixes #916
It was moved to __init__ to avoid recalculating, but the directory could
have changed, so we need to wait to do the work. Instead, only do the
relpath on systems that need it (Windows Py 2)."