code: def test_read_attribute_graphml(self):
      G = self.attribute_graph
      H = nx.read_gexf(self.attribute_fh)
      assert sorted(G.nodes(True)) == sorted(H.nodes(data=True))
      ge = sorted(G.edges(data=True))
      he = sorted(H.edges(data=True))
      for a, b in zip(ge, he):
          assert a == b
      self.attribute_fh.seek(0)
  
imports: import io
  import time
  import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestGEXF obj's underlying member method code with example usage: obj.test_read_attribute_graphml() without return types