code: def test_load_dataset_runtime_error(
      dummy_dc_loader: load.DatasetCollectionLoader,
  ):  # pylint: disable=redefined-outer-name
      with pytest.raises(
          RuntimeError, match="Unsupported return type.+"
      ):
          with mock.patch.object(
              load, "load", autospec=True
          ) as mock_load:
              examples = tf.data.Dataset.from_tensor_slices([1, 2, 3])
              mock_load.return_value = examples
              dummy_dc_loader.load_dataset("c")
  
imports: import logging
  from unittest import mock
  import pytest
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import load
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import read_only_builder
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core import visibility
label_desc: Use image node_id 8 for calling a global function with example usage: test_load_dataset_runtime_error(dummy_dc_loader) without return types