Commit 4378d15
committed
Mark post-shielded-cancel assertions as lax-no-cover for 3.11
The exit-stack-hangs test passes on all Python versions, but
coverage.py on 3.11 misreports the assertions after the shielded
move_on_after cancellation as unhit (the tracer in the test frame is
disrupted by the cancel inside the request task). lax no cover is the
sanctioned exclusion for lines covered on some versions but not others.
Claude-Session: https://claude.ai/code/session_017S3aJaxEHeMvftp6whnHWK1 parent 06d1492 commit 4378d15
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
0 commit comments