code: def testIsShardedFileSpec(self, spec, expected):
      actual = io.is_sharded_file_spec(spec)
      self.assertEqual(
          actual,
          expected,
          "io.IshShardedFileSpec({0}) is {1} expected {2}".format(
              spec, actual, 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 6 for calling the ShardsTest obj's underlying member method code with example usage: obj.testIsShardedFileSpec(spec, expected) without return types