def METHOD_NAME(self, experiment_run, scalar_values):
    scalar_values = (
        value for value in scalar_values if not isinstance(value, str)
    )  # rm str
    attributes = dict(zip(scalar_values, scalar_values))
    for key, val in six.viewitems(attributes):
        with pytest.raises(TypeError):
            experiment_run.log_attribute(key, val)