code: def test_sharded_file_template_sharded_filepath_shard_x_of_y_more_digits():
      builder_dir = epath.Path("/my/path")
      template = naming.ShardedFileTemplate(
          template="data/{DATASET}-{SPLIT}.{FILEFORMAT}-{SHARD_X_OF_Y}",
          data_dir=builder_dir,
          dataset_name="mnist",
          filetype_suffix="tfrecord",
          split="train",
      )
      assert (
          os.fspath(
              template.sharded_filepath(
                  shard_index=12, num_shards=1234567
              )
          )
          == "/my/path/data/mnist-train.tfrecord-0000012-of-1234567"
      )
  
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 23 for calling a global function with example usage: test_sharded_file_template_sharded_filepath_shard_x_of_y_more_digits() without return types