code: def test_get_file_content_from_dataset_folder_raise_exception(
      mock_get_path,
  ):
      with pytest.raises(AttributeError):
          mock_get_path.return_value = FileNotFoundError
          dcb.get_file_content_from_dataset_folder(
              dataset_class=None,
              file_name=None,
              raise_error_if_fails=True,
          )
  
file_path: datasets/tensorflow_datasets/core/dataset_collection_builder_test.py
imports: from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_collection_builder
  from tensorflow_datasets.core.utils import version
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_file_content_from_dataset_folder_raise_exception(mock_get_path) without return types