-
Notifications
You must be signed in to change notification settings - Fork 213
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
Module x was previously imported, but not measured (module-not-measured) #664
Comments
the problem seems to be related to the fact that you end up with |
according to this pytest-cov/src/pytest_cov/plugin.py Lines 91 to 92 in 76fe2a7
https://github.com/graingert-coef/coverage-test/pull/1/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R25 in this case you end up with |
If I set |
Summary
when running with pytest-cov I get a ' Module x was previously imported, but not measured (module-not-measured)' but it is actually measured.
see the output here:
https://github.com/graingert-coef/coverage-test/actions/runs/11383996856/job/31670778809#step:4:33
full reproducer here: https://github.com/graingert-coef/coverage-test/
The text was updated successfully, but these errors were encountered: