code: def test_duplicate_dataset_collection_builders():
      name = "duplicate_collection_builder"
      error_msg = (
          f"DatasetCollection with name {name} already registered"
      )
  
      class DuplicateCollectionBuilder(
          registered.RegisteredDatasetCollection
      ):  # pylint: disable=unused-variable
          pass
  
      with pytest.raises(ValueError, match=error_msg):
  
          class DuplicateCollectionBuilder(
              registered.RegisteredDatasetCollection
          ):  # pylint: disable=function-redefined
              pass
  
imports: import abc
  import re
  from unittest import mock
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import load
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import py_utils
  import tensorflow_datasets.public_api
  from tensorflow_datasets.testing.dummy_config_based_datasets.dummy_ds_1 import dummy_ds_1_dataset_builder
label_desc: Use image node_id 11 for calling a global function with example usage: test_duplicate_dataset_collection_builders() without return types