def METHOD_NAME(
    self, cropping, data_format
):
    input_layer = layers.Input(batch_shape=(3, 7, 9, 13, 5))
    with self.assertRaises(ValueError):
        layers.Cropping3D(cropping=cropping, data_format=data_format)(
            input_layer
        )