code: def test_filename_info_with_small_shard_num():
      filename = "mnist-test.tfrecord-00000-of-00001"
      assert naming.FilenameInfo.is_valid(filename)
      file_info = naming.FilenameInfo.from_str(filename)
      assert str(file_info) == filename
      assert file_info.dataset_name == "mnist"
      assert file_info.split == "test"
      assert file_info.filetype_suffix == "tfrecord"
      assert file_info.shard_index == 0
      assert file_info.num_shards == 1
  
imports: import os
  from absl.testing import parameterized
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import splits
label_desc: Use image node_id 7 for calling a global function with example usage: test_filename_info_with_small_shard_num() without return types