Repository navigation
Commit 93cc828
committed
test: mark the resumption-token test's post-exit line lax-no-cover for 3.11
CPython gh-106749 (wontfix on 3.11): coro.throw() omits the call trace
event, desyncing coverage.py's CTracer so the first plain statement after
a ClientSession/streamable_http_client __aexit__ is dropped. Restructures
only relocate the miss (verified empirically across five variants); name
the upstream bug and sanction lax-no-cover for this case in the README.1 parent 2ee59b7 commit 93cc828
2 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
0 commit comments