code: def document_single_builder_fn(tmp_path):
      yield functools.partial(
          document_datasets._document_single_builder,
          visu_doc_util=doc_utils.VisualizationDocUtil(
              base_path=tmp_path,
              base_url=doc_utils.DocUtilPaths.fig_base_url,
          ),
          df_doc_util=doc_utils.DataframeDocUtil(
              base_path=tmp_path,
              base_url=doc_utils.DocUtilPaths.df_base_url,
          ),
          nightly_doc_util=None,
      )
  
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 1 for calling a global function with example usage: document_single_builder_fn(tmp_path) without return types