code: def test_get_nonexistent_collection(dummy_dc):
      with pytest.raises(ValueError):
          dummy_dc.get_collection(version="1.2.0")
          dummy_dc.get_collection(version="1.*.2")
  
file_path: datasets/tensorflow_datasets/core/dataset_collection_builder_test.py
imports: from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_collection_builder
  from tensorflow_datasets.core.utils import version
label_desc: Use image node_id 10 for calling a global function with example usage: test_get_nonexistent_collection(dummy_dc) without return types