class_docstr: Unit tests for the :meth:`MultiGraph.edge_subgraph` method.
class_docstr_tok: ["Unit","tests","for","the",":","meth",":","`","MultiGraph.edge_subgraph","`","method","."]
docstr: Tests that the node attribute dictionary of the two graphs is
  the same object.
docstr_tok: ["Tests","that","the","node","attribute","dictionary","of","the","two","graphs","is","the","same","object","."]
code: def test_node_attr_dict(self):
      """Tests that the node attribute dictionary of the two graphs is
      the same object.
  
      """
      for v in self.H:
          assert self.G.nodes[v] == self.H.nodes[v]
      # Making a change to G should make a change in H and vice versa.
      self.G.nodes[0]["name"] = "foo"
      assert self.G.nodes[0] == self.H.nodes[0]
      self.H.nodes[1]["name"] = "bar"
      assert self.G.nodes[1] == self.H.nodes[1]
  
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 6 for calling the TestEdgeSubgraph obj's underlying member method code with example usage: obj.test_node_attr_dict() without return types