code: def test_replace_shard_suffix():
      assert (
          naming._replace_shard_suffix(
              filepath="/path/file-00001-of-01234", replacement="repl"
          )
          == "/path/filerepl"
      )
      assert (
          naming._replace_shard_suffix(
              filepath="/path/file00001-of-01234", replacement="repl"
          )
          == "/path/filerepl"
      )
      assert (
          naming._replace_shard_suffix(
              filepath="/path/file-00001", replacement="repl"
          )
          == "/path/filerepl"
      )
  
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 27 for calling a global function with example usage: test_replace_shard_suffix() without return types