code: def test_read_numpy_data(in_memory):
      with tempfile.TemporaryDirectory() as test_dir:
          save_numpy = np.array([[1, 2, 4], [2, 5, 3]])
          file_name = os.path.join(test_dir, "save_numpy.npy")
          np.save(file_name, save_numpy)
          read_tensor = internal.utils._read_numpy_data(
              file_name, in_memory
          )
          assert torch.equal(torch.from_numpy(save_numpy), read_tensor)
          save_numpy = read_tensor = None
  
file_path: dgl/tests/python/pytorch/graphbolt/utils/test_internal.py
imports: import json
  import os
  import re
  import tempfile
  import dgl.graphbolt.internal
  import numpy
  import pandas
  import pytest
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: test_read_numpy_data(in_memory) without return types