-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
CoverageWarning: Couldn't parse '.../(test)' #93
Comments
I've encountered similar spurious errors from pytest-cov in pytest-dev/pytest-cov#538. |
I am able to replicate the issue outside of pytest-cov:
|
It looks as if the proper fix for this general case of failures might be to suppress those 'couldnt-parse' warnings, but in this particular case, I believe the test is no longer adding any value, as it was there to address compatibility on Python 2, so I'll probably just remove the test. |
python -m pytest
reports the following coverage warning:The problem is caused by this line:
https://github.com/jaraco/zipp/blob/v3.13.0/tests/test_zipp.py#L278
The text was updated successfully, but these errors were encountered: