code: def test_numpy_to_list_of_ints(self):
      a = np.array([1, 2, 3], dtype=np.int64)
      b = np.array([1.0, 2, 3])
      c = np.array([1.1, 2, 3])
      assert type(make_list_of_ints(a)) == list
      assert make_list_of_ints(b) == list(b)
      B = make_list_of_ints(b)
      assert type(B[0]) == int
      pytest.raises(nx.NetworkXError, make_list_of_ints, c)
  
imports: import random
  from copy import copy
  import pytest
  import networkx
  from networkx.utils import PythonRandomInterface, arbitrary_element, create_py_random_state, create_random_state, dict_to_numpy_array, discrete_sequence, flatten, groups, make_list_of_ints, pairwise, powerlaw_sequence
  from networkx.utils.misc import _dict_to_numpy_array1, _dict_to_numpy_array2
label_desc: Use image node_id 2 for calling the TestNumpyArray obj's underlying member method code with example usage: obj.test_numpy_to_list_of_ints() without return types