code: def _check_type_info(type_info, expected):
      names = [name for name, _ in type_info]
      exp_names = [name for name, _ in expected]
      # this checks the names and lengths (etc.) match
      assert names == exp_names
  
      for (_, data), (_, exp_data) in zip(type_info, expected):
          np.testing.assert_array_equal(data, exp_data)
  
imports: import networkx
  import numpy
  import pandas
  import pytest
  from stellargraph.core.convert import ColumnarConverter, convert_nodes, convert_edges, from_networkx
  from stellargraph.core.indexed_array import IndexedArray
label_desc: Use image node_id 2 for calling a global function with example usage: _check_type_info(type_info, expected) without return types