code: def test_cropping_1d_errors_if_cropping_argument_invalid(self):
      with self.assertRaises(ValueError):
          layers.Cropping1D(cropping=(1,))
      with self.assertRaises(ValueError):
          layers.Cropping1D(cropping=(1, 2, 3))
      with self.assertRaises(ValueError):
          layers.Cropping1D(cropping="1")
  
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 3 for calling the Cropping1DTest obj's underlying member method code with example usage: obj.test_cropping_1d_errors_if_cropping_argument_invalid() without return types