code: def test_invalid_pad_type(self):
      np.testing.assert_raises_regex(
          ValueError,
          "Invalid padding pad_type",
          aggregated_pad,
          pad_type="bananas",
          kernel_shape=(1, 2, 3),
      )
  
imports: import itertools
  import numpy
  import pytest
  from coremltools.converters.mil.mil.ops.defs._utils import aggregated_pad, effective_kernel, pack_elements_into_bits, restore_elements_from_packed_bits, spatial_dimensions_out_shape
label_desc: Use image node_id 1 for calling the TestAggregatePadding obj's underlying member method code with example usage: obj.test_invalid_pad_type() without return types