code: def test_load_old_files2():
      loadg_list, labels0 = load_old_files("data/2.bin")
      labels1 = load_labels(
          os.path.join(os.path.dirname(__file__), "data/2.bin")
      )
      idx, edges0, edges1, np_labels = np.load(
          os.path.join(os.path.dirname(__file__), "data/2.npy"),
          allow_pickle=True,
      )
      assert np.allclose(F.asnumpy(labels0["label"]), np_labels)
      assert np.allclose(F.asnumpy(labels1["label"]), np_labels)
  
      load_g = loadg_list[idx]
      print(load_g)
      load_edges = load_g.all_edges("uv", "eid")
      assert np.allclose(F.asnumpy(load_edges[0]), edges0)
      assert np.allclose(F.asnumpy(load_edges[1]), edges1)
  
imports: import os
  import tempfile
  import time
  import unittest
  import warnings
  import backend
  import dgl
  import dgl.ndarray
  import numpy
  import pytest
  import scipy
  from dgl.data.utils import load_labels, load_tensors, save_tensors
label_desc: Use image node_id 10 for calling a global function with example usage: test_load_old_files2() without return types