def METHOD_NAME(
    self, make_model_schema_file, matching_input_value
):
    @validate_schema
    def predict(self, input):
        array = pytest.importorskip("numpy").array([1, 2, 3])
        return array
    with pytest.raises(TypeError, match="output must be a dict.*"):
        predict(None, matching_input_value.dict())