diff --git a/tests/wde/core/processor/test_input_processor.py b/tests/wde/core/processor/test_input_processor.py index f68bf33737c5e..f8eab871fb2c6 100644 --- a/tests/wde/core/processor/test_input_processor.py +++ b/tests/wde/core/processor/test_input_processor.py @@ -71,10 +71,14 @@ def test_validation_error(request_id): inputs = {"foo": "bar"} input_processor(request_id, inputs) + # mypy: disable-error-code=assignment + with pytest.raises(ValidationError): inputs = 0 - input_processor(request_id, inputs) # type: ignore + input_processor(request_id, inputs) with pytest.raises(ValidationError): inputs = 0.0 - input_processor(request_id, inputs) # type: ignore + input_processor(request_id, inputs) + + # mypy: enable-error-code=assignment