'Tests that the edge attribute dictionary of the two graphs is
the same object.'

def test_edge_attr_dict(self):

    for (u, v) in self.H.edges():
        assert_equal(self.G.edge[(u, v)], self.H.edge[(u, v)])
    self.G.edge[(0, 1)]['name'] = 'foo'
    assert_equal(self.G.edge[(0, 1)]['name'], self.H.edge[(0, 1)]['name'])
    self.H.edge[(3, 4)]['name'] = 'bar'
    assert_equal(self.G.edge[(3, 4)]['name'], self.H.edge[(3, 4)]['name'])
