code: def test_collection_versions_section(
      dummy_dc_loader: tfds.core.DatasetCollectionLoader,
  ):  # pylint: disable=redefined-outer-name
      versions_section = (
          collection_markdown_builder.CollectionVersionSection()
      )
      expected_lines = [
          "    * `1.0.0`: notes 1.0.0",
          "    * `1.1.0`: notes 1.1.0",
          "    * **`2.0.0`** (default): notes 2.0.0",
      ]
      assert versions_section.content(
          loader=dummy_dc_loader
      ) == "\n".join(expected_lines)
  
file_path: datasets/tensorflow_datasets/scripts/documentation/collection_markdown_builder_test.py
imports: import textwrap
  import pytest
  import tensorflow_datasets
  from tensorflow_datasets import testing
  from tensorflow_datasets.scripts.documentation import collection_markdown_builder
label_desc: Use image node_id 5 for calling a global function with example usage: test_collection_versions_section(dummy_dc_loader) without return types