code: def test_sharded_file_template_no_template_incomplete():
      builder_dir = epath.Path("/my/path")
      template_without_split = naming.ShardedFileTemplate(
          data_dir=builder_dir,
          dataset_name="imagenet",
          filetype_suffix="riegeli",
      )
      with pytest.raises(
          ValueError, match="Could not format template .+"
      ):
          template_without_split.sharded_filepath(
              shard_index=12, num_shards=100
          )
  
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 25 for calling a global function with example usage: test_sharded_file_template_no_template_incomplete() without return types