code: def test_graph_data_loader_get_complementary_subjects(
      graph_data_loader,
  ):
      sample = np.array([["a", "b", "d"], ["a", "b", "d"]])
      sample_inds = graph_data_loader.backend.mapper.get_indexes(
          sample, type_of="t"
      )
      subjects = graph_data_loader.get_complementary_subjects(
          sample_inds
      )
      expected = [[0, 1], [0, 1]]
      assert [set(x) for x in subjects] == [
          set(x) for x in expected
      ], "Subjects differ, expected {}, instead got {}.".format(
          expected, subjects
      )
  
file_path: AmpliGraph/tests/ampligraph/datasets/test_graph_data_loader.py
imports: from ampligraph.datasets import GraphDataLoader, NoBackend
  from ampligraph.datasets.sqlite_adapter import SQLiteAdapter
  import pytest
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: test_graph_data_loader_get_complementary_subjects(graph_data_loader) without return types