diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2020-01-08 20:34:01 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-01-11 07:22:02 -0500 |
| commit | 70d527b91588d854378f78f49ee491b84662df51 (patch) | |
| tree | e1fd0d8cfd12d310d470a94127526939d92ce364 /CHANGES.rst | |
| parent | 1c653dd10d3b75b9b442981139bc8e796aea148c (diff) | |
| download | python-coveragepy-git-70d527b91588d854378f78f49ee491b84662df51.tar.gz | |
Refine the conditions for tweaking sys.path[0]. Fixes #862
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 7a2bf51c..7b39cfc2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -28,6 +28,15 @@ Unreleased directory before combining data, causing "Couldn't use data file: no such table: meta" errors (`issue 916`_). This is now fixed. +- Coverage could fail to run your program with some form of "ModuleNotFound" or + "ImportError" trying to import from the current directory. This would happen + if coverage had been packaged into a zip file (for example, on Windows), or + was found indirectly (for example, by pyenv-virtualenv). A number of + different scenarios were described in `issue 862`_ which is now fixed. Huge + thanks to Agbonze O. Jeremiah for reporting it, and Alexander Waters and + George-Cristian Bîrzan for protracted debugging sessions. + +.. _issue 862: https://github.com/nedbat/coveragepy/issues/862 .. _issue 916: https://github.com/nedbat/coveragepy/issues/916 |
