code: def test_max_examples_per_split_0(
      mock_default_data_dir: pathlib.Path,
  ):  # pylint: disable=redefined-outer-name
      assert _build(
          "dummy_dataset_no_generate --max_examples_per_split 0",
          mock_download_and_prepare=False,
      ) == ["dummy_dataset_no_generate"]
  
      builder_path = (
          mock_default_data_dir / "dummy_dataset_no_generate/1.0.0"
      )
      # Dataset has been generated
      assert builder_path.exists()
      # tf-records files have not been generated
      assert sorted(builder_path.iterdir()) == [
          builder_path / "dataset_info.json",
          builder_path / "features.json",
      ]
  
imports: import contextlib
  import os
  import pathlib
  from typing import Dict, Iterator, List, Optional
  from unittest import mock
  from absl.testing import parameterized
  from etils import epath
  import pytest
  import tensorflow_datasets
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import download
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import file_utils
  from tensorflow_datasets.scripts.cli import build
  from tensorflow_datasets.scripts.cli import main
label_desc: Use image node_id 10 for calling a global function with example usage: test_max_examples_per_split_0(mock_default_data_dir) without return types