Commit 7fc28eb
committed
Exempt the new nested
The 3.14 jobs failed the 100% gate while every other version passed. Both
files were at 100% statement coverage; the shortfall was two partial
branches, one per file, on the `async with stdio_client(...)` line nested
inside `anyio.fail_after(...)`.
On 3.14 the tracer records a self-arc for that line instead of the arcs
into the body and out past the enclosing block, so both declared exits
read as missing even though the body demonstrably runs. Same code and
same tests measure 100% on 3.13.
This is the existing convention here: test_lifecycle.py already carries
`# pragma: no branch` on an identical `stdio_client` line, and the repo
uses the pragma in 232 places, including one that names the same cause.async with lines from branch coverage on 3.141 parent c900b53 commit 7fc28eb
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | | - | |
| 1036 | + | |
| 1037 | + | |
1037 | 1038 | | |
1038 | 1039 | | |
1039 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
0 commit comments