code: def mocked_data() -> tp.Iterator[tp.Any]:
      """Mocks all data that should be downloaded, in order to simplify testing"""
      with patch(
          "nevergrad.functions.mlda.datasets.get_data",
          new=_make_fake_get_data,
      ) as mocked:
          yield mocked
  
file_path: nevergrad/nevergrad/functions/mlda/datasets.py
imports: import warnings
  import contextlib
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import requests
  import numpy
  import pandas
  from PIL import Image
label_desc: Use image node_id 5 for calling a global function with example usage: mocked_data() without return types