-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeUnit doesn't handle eggs #25
Comments
Issue #26 was marked as a duplicate of this issue. |
Thanks! This is fixed in <<changeset 92b5372042d2 (bb)>> |
Original comment by Vanuan (Bitbucket: Vanuan, GitHub: Vanuan) Similar bugs in parser.py (lines 27, 337) https://bitbucket.org/ned/coveragepy/src/a621660fa6e6/coverage/parser.py?at=default#cl-27 should be fixed the same way. This is due to the fact that the file |
Original comment by Vanuan (Bitbucket: Vanuan, GitHub: Vanuan) The fix is trivial: Vanuan/coveragepy@f453ced |
Vanuan: can you provide some test scenarios? |
Original comment by Vanuan (Bitbucket: Vanuan, GitHub: Vanuan) I'm afraid I need some help here. The test case should look like that:
where My best effort is here: Vanuan/coveragepy@7cba392 |
I tried to duplicate this using the egg1 egg in the tests directory, with coverage 4.0. There were no problems. Maybe I don't know how to reproduce it. If you can give me manual steps to make it fail, I'll re-open the issue. |
Originally reported by rozza (Bitbucket: rozza, GitHub: rozza)
CodeUnit fails with eggs as the files aren't actually available for reading.
Patch included
The text was updated successfully, but these errors were encountered: