def METHOD_NAME(self, model_version):
    value = "foo"
    for key in _artifact_utils.BLOCKLISTED_KEYS:
        with pytest.raises(ValueError, match="please use a different key$"):
            model_version.log_artifact(key, value)