async def METHOD_NAME(
    dataframe_model: SKLearnModel, inference_request
):
    inference_request.outputs = [
        RequestOutput(name=PREDICT_OUTPUT, parameters=Parameters(content_type="pd")),
        RequestOutput(
            name=PREDICT_PROBA_OUTPUT, parameters=Parameters(content_type="pd")
        ),
    ]
    with pytest.raises(InferenceError) as e:
        await dataframe_model.predict(inference_request)
    assert "Cannot encode" in str(e.value)