Commit ed1cc70
committed
fix: replace tautological assertion with exclusion-set verification
The elif branch at _assert_shuffle line 1237 checked
make_query_plan_with_exclusion.called then immediately called
.assert_called(), which can never fail. Replace with a meaningful
assertion that verifies the exclusion set actually contains the
yielded replicas.1 parent 32a6acf commit ed1cc70
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | | - | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1239 | 1250 | | |
1240 | 1251 | | |
1241 | 1252 | | |
| |||
0 commit comments