Commit 67b3b2c
committed
backport: coverage — lax-no-cover post-unwind asserts on 3.11+lowest-direct
The 3.11 zero-cost-exception tracer dead-zone (python/cpython#106749) drops line
events for sync statements between a cancel-on-exit __aexit__ and the next real
await. On anyio 4.5.0 (lowest-direct) the unwind path differs from anyio 4.10
just enough that three additional post-async-with assertions fall in the
dead-zone on 3.11 only. Same family as the markers added in 361bb9d.1 parent 52a79c4 commit 67b3b2c
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments