code: def disable_community_datasets():
      """During tests, `tfds.list_builders` disable community datasets."""
      # For tests, only public datasets are available (no-community datasets)
      # Kokoro pytest tests are executed without absl.app, so the default
      # visibility isn't automatically set.
      from tensorflow_datasets.core import (
          visibility,
      )  # pylint: disable=g-import-not-at-top
  
      visibility.set_availables(
          [
              visibility.DatasetType.TFDS_PUBLIC,
          ]
      )
  
file_path: datasets/tensorflow_datasets/conftest.py
imports: from __future__ import annotations
  import builtins
  import importlib
  import sys
  import typing
  from typing import Iterator, Type
  import pytest
  from tensorflow_datasets import setup_teardown
label_desc: Use image node_id 1 for calling a global function with example usage: disable_community_datasets() without return types