def METHOD_NAME(mnist_visiondata_train):
    # Arrange
    def string_property(labels):
        return ['test'] * len(labels)
    image_properties = [{
        'name': 'test',
        'method': string_property,
        'output_type': 'categorical'
    }]
    check = LabelPropertyOutliers(label_properties=image_properties)
    # Act - Assert check raise exception
    assert_that(calling(check.run).with_args(mnist_visiondata_train),
                raises(DeepchecksProcessError, 'For outliers, properties are expected to be only numeric types but '
                                               'found non-numeric value for property test'))