code: def testGlobListShardedFilePatterns(self, specs, expected_files):
      # First, create all expected_files so Glob will work later.
      expected_full_files = [
          test_utils.test_tmpfile(f, "") for f in expected_files
      ]
      # Create the full spec names. This one doesn't create the files.
      full_specs = ",".join(
          [test_utils.test_tmpfile(spec) for spec in specs.split(",")]
      )
      self.assertEqual(
          sorted(set(expected_full_files)),
          io.glob_list_sharded_file_patterns(full_specs),
      )
  
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 10 for calling the ShardsTest obj's underlying member method code with example usage: obj.testGlobListShardedFilePatterns(specs, expected_files) without return types