Commit 84484c7
committed
fix(coverage): make the gate mean the same on every Python
A type checking block never runs, and Python 3.14 drops it before coverage can
see it while 3.12 and 3.13 count it as a statement that never executes. The gate
therefore passed on the newest runtime and failed on the oldest supported one,
which is the worst of both. The same split applies to a protocol method whose
body is an ellipsis.1 parent 8f2bf5d commit 84484c7
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
| |||
0 commit comments