code: def apply_mock_data(mock_data):
      """Fixture which apply `tfds.testing.mock_data` to the test.
  
      Test which uses this fixture will be executed twice, once with `USE_FILES` and
      once with `USE_CODE`.
  
      Args:
        mock_data: `mock_data` fixture defined above.
  
      Yields:
        None
      """
      with mock_data():
          yield
  
imports: import functools
  import pickle
  import numpy
  import pytest
  import tensorflow
  import tensorflow_datasets
label_desc: Use image node_id 2 for calling a global function with example usage: apply_mock_data(mock_data) without return types