code: def testInvalidDataFormat(self, data_format):
      with self.assertRaisesRegex(
          ValueError,
          "Unable to extract channel information from '{}'".format(
              data_format
          ),
      ):
          batch_norm.BaseBatchNorm(
              moving_mean=TestMetric(),
              moving_variance=TestMetric(),
              create_scale=False,
              create_offset=False,
              data_format=data_format,
          )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from sonnet.src import batch_norm
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 11 for calling the BaseBatchNormTest obj's underlying member method code with example usage: obj.testInvalidDataFormat(data_format) without return types