You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The report output would be the separate lines 10, 18 not the range 10-18.
Additional context
The big picture is that I am exploring ways to easily exclude all tests using a certain fixture since they are run separately without coverage measurement. This was an observation along the way.
The text was updated successfully, but these errors were encountered:
This does look odd, and I guess could be improved. The logic is that between lines 10 and 18, there are no lines that could be executed that were executed, so the range is expressed as 10-18. This is so that comments and blank lines won't interrupt a range. Perhaps excluded lines should be considered differently.
Describe the bug
coverage report
shows unexpected range including covered and excluded linesTo Reproduce
$ rm -rf venv .coverage
$ python3.11 -m venv venv
Expected behavior
The report output would be the separate lines
10, 18
not the range10-18
.Additional context
The big picture is that I am exploring ways to easily exclude all tests using a certain fixture since they are run separately without coverage measurement. This was an observation along the way.
The text was updated successfully, but these errors were encountered: