code: def _create_dataset_test(info: utils.DatasetInfo) -> None:
      """Adds the `dummy_data/` directory."""
      file_path = info.path.joinpath(
          f"{info.name}_dataset_builder_test.py"
      )
  
      content = textwrap.dedent(
          f'''\
        """{info.name} dataset."""
  
        from {info.ds_import} import {info.name}_dataset_builder
        import {info.tfds_api} as tfds
  
        class {info.cls_name}Test(tfds.testing.DatasetBuilderTestCase):
          """Tests for {info.name} dataset."""
          # {info.todo}:
          DATASET_CLASS = {info.name}_dataset_builder.Builder
          SPLITS = {{
              'train': 3,  # Number of fake train example
              'test': 1,  # Number of fake test example
          }}
  
          # If you are calling `download/download_and_extract` with a dict, like:
          #   dl_manager.download({{'some_key': 'http://a.org/out.txt', ...}})
          # then the tests needs to provide the fake output paths relative to the
          # fake data directory
          # DL_EXTRACT_RESULT = {{'some_key': 'output_file1.txt', ...}}
  
  
        if __name__ == '__main__':
          tfds.testing.test_main()
        '''
      )
      file_path.write_text(content)
  
imports: import argparse
  import os
  import pathlib
  import subprocess
  import textwrap
  from typing import Optional
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import dataset_metadata
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.utils import resource_utils
  from tensorflow_datasets.scripts.cli import builder_templates
  from tensorflow_datasets.scripts.cli import cli_utils
label_desc: Use image node_id 5 for calling a global function with example usage: _create_dataset_test(info) without return types