code: def test_cropping_1d_error_on_excessive_cropping(self):
      inputs = np.random.rand(3, 5, 7)
  
      with self.assertRaisesRegex(
          ValueError,
          "`cropping` parameter of `Cropping1D` layer must be smaller than",
      ):
          layer = layers.Cropping1D(cropping=(3, 3))
          _ = layer(inputs)
  
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 5 for calling the Cropping1DTest obj's underlying member method code with example usage: obj.test_cropping_1d_error_on_excessive_cropping() without return types