Commit ced364e
committed
Make the prompt test's opaque coverage workaround explicit
The never-called prompt body in the wrong-type-argument test proves it
never ran by appending to a closure-captured list, but a plain append on
an unreachable line would fail the 100% coverage gate. The append
therefore rides on a `raise NotImplementedError` line, which coverage's
`exclude_also` strips. That shape read as an accident; add a comment
spelling out why it is written that way.1 parent cf7b17f commit ced364e
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments