Commit b9c6045
test(pickle): drop dead register_udf in strict refusal test
`test_strict_decoder_refuses_inline_payload` registered the UDF on
the strict receiver, but the codec refusal trips before the receiver's
function registry is ever consulted — the registration was never
exercised. Worse: keeping it there would mask a real regression that
moved the strict-mode check downstream of registry lookup, because the
registry hit would resolve the UDF instead of letting the refusal
surface.
Drop the register_udf call and call out in the docstring why the
absence is load-bearing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dfcf3bc commit b9c6045
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
291 | 297 | | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
296 | | - | |
297 | 302 | | |
298 | 303 | | |
299 | 304 | | |
| |||
0 commit comments