code: def parent(request):
      graph = pd.DataFrame(
          np.append(
              get_test_graph(), np.array([["a", "t", "a"]] * 9), axis=0
          )
      )
      graph.to_csv(request.param, header=None, index=None, sep="\t")
      data_loader = GraphDataLoader(request.param)
      yield data_loader
      data_loader.clean()
      try:
          os.remove(request.param)
      except:
          del request.param
  
file_path: AmpliGraph/tests/ampligraph/datasets/test_partitioning_reporter.py
imports: from ampligraph.datasets.partitioning_reporter import PartitioningReporter
  from ampligraph.datasets.graph_partitioner import NaiveGraphPartitioner, GraphDataLoader
  import pytest
  import mock
  from pytest_mock import mocker
  import pandas
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: parent(request) without return types