code: def test_mocked_data(name: str) -> None:
      with datasets.mocked_data():  # this test makes sure we are able to mock all data, so that xp tests can run
          data = datasets.get_data(name)
          assert isinstance(data, (np.ndarray, pd.DataFrame))
  
file_path: nevergrad/nevergrad/functions/mlda/test_datasets.py
imports: import tempfile
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import pandas
  import numpy
  from ...common import testing
  from .None import datasets
label_desc: Use image node_id 3 for calling a global function with example usage: test_mocked_data(name) without return types