code: def testIncorrectN(self, n):
      with self.assertRaisesRegex(
          ValueError,
          "only support transpose convolution operations for num_spatial_dims",
      ):
          conv_transpose.ConvNDTranspose(
              num_spatial_dims=n,
              output_channels=1,
              output_shape=None,
              kernel_shape=3,
              data_format="NHWC",
          )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from sonnet.src import conv_transpose
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the ConvTransposeTest obj's underlying member method code with example usage: obj.testIncorrectN(n) without return types