code: def test_cropping_1d_errors_if_cropping_more_than_available(self):
      with self.assertRaisesRegex(
          ValueError,
          "`cropping` parameter of `Cropping1D` layer must be smaller than",
      ):
          input_layer = layers.Input(batch_shape=(3, 5, 7))
          layers.Cropping1D(cropping=(2, 3))(input_layer)
  
file_path: keras/keras/layers/reshaping/cropping1d_test.py
imports: import numpy
  import pytest
  from keras import layers
  from keras import ops
  from keras import testing
label_desc: Use image node_id 4 for calling the Cropping1DTest obj's underlying member method code with example usage: obj.test_cropping_1d_errors_if_cropping_more_than_available() without return types