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
Describe the bug
This one random line is being marked as uncovered on python3.9, despite it clearly being executed.
To Reproduce
How can we reproduce the problem? Please be specific. Don't link to a failing CI job. Answer the questions below:
What version of Python are you using?
3.9.19
The problem does not appear on py310, 311, 312 or 313.
What version of coverage.py shows the problem? The output of coverage debug sys is helpful.
7.5.3, I also tried 7.4.4 and 7.4.0 with the same behaviour
What versions of what packages do you have installed? The output of pip freeze is helpful.
What commands should we run to reproduce the problem? Be specific. Include everything, even git clone, pip install, and so on. Explain like we're five!
git clone https://github.com/jakkdl/flake8-async.git
cd flake8-async
git checkout 2cf2519198db2adbd52581e481acf9a054bbe294
python3.9 -m venv .venv
source .venv/bin/activate
pip install . coverage hypothesis hypothesmith pytest
coverage run -m pytest -k async112-trio-noautofix-normal
coverage html
Line 131 (continue) in the file flake8_async/visitors/visitors.py is marked as uncovered, despite line 130 (assert True) being marked as covered.
Expected behavior
The line should be marked as covered, as it is clearly being executed. If you replace the assert True on line 130 with assert False you get an AssertionError when running the test.
Describe the bug
This one random line is being marked as uncovered on python3.9, despite it clearly being executed.
To Reproduce
How can we reproduce the problem? Please be specific. Don't link to a failing CI job. Answer the questions below:
What version of Python are you using?
3.9.19
The problem does not appear on py310, 311, 312 or 313.
What version of coverage.py shows the problem? The output of
coverage debug sys
is helpful.7.5.3, I also tried 7.4.4 and 7.4.0 with the same behaviour
What versions of what packages do you have installed? The output of
pip freeze
is helpful.https://github.com/jakkdl/flake8-async/tree/async111_asyncio
commit jakkdl/flake8-async@2cf2519
git clone
,pip install
, and so on. Explain like we're five!Line 131 (
continue
) in the fileflake8_async/visitors/visitors.py
is marked as uncovered, despite line 130 (assert True
) being marked as covered.Expected behavior
The line should be marked as covered, as it is clearly being executed. If you replace the
assert True
on line 130 withassert False
you get anAssertionError
when running the test.Additional context
First encountered in CI run https://github.com/python-trio/flake8-async/actions/runs/9287086418/job/25558523200?pr=264#step:5:1
PR: python-trio/flake8-async#264
The text was updated successfully, but these errors were encountered: