code: def test_builder_to_document_sections(
      sections: Set[str], expected: Set[str]
  ):
      mock_builder = mock.MagicMock()
      instance = document_datasets.BuilderToDocument(
          sections=sections,
          namespace=None,
          builder=mock_builder,
          config_builders=[],
      )
      assert instance.sections == expected
  
file_path: datasets/tensorflow_datasets/scripts/documentation/document_datasets_test.py
imports: import functools
  from typing import Set
  from unittest import mock
  import pytest
  import tensorflow_datasets
  from tensorflow_datasets.scripts.documentation import doc_utils
  from tensorflow_datasets.scripts.documentation import document_datasets
label_desc: Use image node_id 6 for calling a global function with example usage: test_builder_to_document_sections(sections, expected) without return types