code: def test_padding_incorrect_input(self, kernel_size, rate):
      with self.assertRaisesRegex(
          TypeError,
          r"must be a scalar or sequence of length 1 or sequence of length 3.",
      ):
          pad.create_from_padfn(pad.full, kernel_size, rate, 3)
  
file_path: dm-haiku/haiku/_src/pad_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import pad
label_desc: Use image node_id 4 for calling the PadTest obj's underlying member method code with example usage: obj.test_padding_incorrect_input(kernel_size, rate) without return types