code: def testGenerateShardedFilePattern(
      self, basename, num_shards, suffix, expected
  ):
      self.assertEqual(
          io.generate_sharded_file_pattern(
              basename, num_shards, suffix
          ),
          expected,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import sharded_file_utils
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 8 for calling the ShardsTest obj's underlying member method code with example usage: obj.testGenerateShardedFilePattern(basename, num_shards, suffix, expected) without return types