code: def get_targets():
      def get_targets(n_matrices):
          return np.random.rand(n_matrices)
  
      return get_targets
  
file_path: pyRiemann/tests/conftest.py
imports: import pytest
  import numpy
  from functools import partial
  from pyriemann.datasets import make_matrices, make_masks
label_desc: Use image node_id 9 for calling a global function with example usage: get_targets() and returns: get_targets, np