Executing python file, sys.path is replaced rather than inserted · Issue #142 · nedbat/coveragepy (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
Originally reported by Anonymous
In coverage/execfile.py the current python module search path sys.argv is replaced rather inserted with the generated module path. This causes problems using coverage in a zc.buildout environment where sys.path is used to point to local installed eggs.
If required to understand the issue, I can try to come up with a patch.
- Bitbucket: https://bitbucket.org/ned/coveragepy/issue/142
- This issue had attachments: coverage.patch. See the original issue for details.