Disable mypy arg-type and assignment checks in tests (#59428)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
17e9295dd5
commit
fc2c801ad9
@@ -105,7 +105,7 @@ def test_trace_decode_token_ids_rejects_speculative_decoding():
|
||||
with pytest.raises(ValueError, match="not supported with speculative decoding"):
|
||||
params._validate_trace_replay(
|
||||
_make_model_config(vocab_size=100),
|
||||
speculative_config=object(), # type: ignore[arg-type] # Only non-None presence is tested.
|
||||
speculative_config=object(),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user