code: def test_create_inexistent_builder_template():
      nonexistent_data_format = "nonexistent_data_format"
      nonexistent_dataset_info = utils.DatasetInfo(
          name=NAME,
          in_tfds=True,
          path=PATH_DIR,
          data_format=nonexistent_data_format,
      )
  
      error_msg = (
          f"Required format {nonexistent_data_format} isn't associated with a"
          " format-specific builder in TFDS."
      )
      with pytest.raises(ValueError, match=error_msg):
          builder_templates.create_builder_template(
              nonexistent_dataset_info
          )
  
imports: import pathlib
  import pytest
  from tensorflow_datasets.scripts.cli import builder_templates
  from tensorflow_datasets.scripts.cli import cli_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_inexistent_builder_template() without return types