Commit bf8b200
committed
tests: drop redundant Protocol assertion
The ``_: ProjectionStrategy[S, Inner] = BoomProjection()`` line was
a defensive belt-and-suspenders structural-conformance check, but
the call-site ``add_subgraph_node(projection=BoomProjection())``
exercises the same Protocol check via its parameter annotation —
pyright catches a mismatch there without needing the explicit
assignment. Drop the line and update the comment to point at the
call site.1 parent 3866f81 commit bf8b200
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
0 commit comments