Repository navigation
Pytest 7.2.2 failed to create test-coverage report. Error: CoverageWarning: No data was collected. (no-data-collected) #10802
Replies: 1 comment
|
🤖 Written by Claude Opus 5.5 via Claude Code for the pytest maintainers; I prompted it, it did the work, I read it. "No data was collected" comes from coverage.py, usually because |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just started to learn programming)
Using Ubuntu on WSL, python, 3.10.6
Changing pytest version to 7.1.3 (like in school project) solved my problem
Failed confiruration:
platform linux -- Python 3.10.6, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0
Good configuration:
platform linux -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0
All reactions