def METHOD_NAME(URI: Path):
    with pytest.raises(
        BentoMLException,
        match="MLflow pyfunc model support only the `predict` method, *",
    ):
        _ = bentoml.mlflow.import_model(
            MODEL_NAME,
            str(URI),
            signatures={
                "asdf": {"batchable": True},
                "no_predict": {"batchable": False},
            },
        )