code: def same_attrdict(self, H, G):
      # same attrdict in the edgedata
      old_foo = H[1][2][0]["foo"]
      H.adj[1][2][0]["foo"] = "baz"
      assert G._adj == H._adj
      H.adj[1][2][0]["foo"] = old_foo
      assert G._adj == H._adj
  
      old_foo = H.nodes[0]["foo"]
      H.nodes[0]["foo"] = "baz"
      assert G._node == H._node
      H.nodes[0]["foo"] = old_foo
      assert G._node == H._node
  
imports: from collections import UserDict
  import pytest
  import networkx
  from networkx.utils import edges_equal
  from .test_graph import BaseAttrGraphTester
  from .test_graph import TestGraph
label_desc: Use image node_id 7 for calling the BaseMultiGraphTester obj's underlying member method code with example usage: obj.same_attrdict(H, G) without return types