I fixed this, so that it now passes in Python 3.


On Fri, Jul 26, 2013 at 3:32 AM, harrymvr <notifications@github.com> wrote:

> In networkx/algorithms/tests/test_bridges.py:
>
> > +        G.add_edge('c', 'd')
> > +        G.add_edge('d', 'e')
> > +        G.add_edge('e', 'f')
> > +        G.add_edge('f', 'd')
> > +
> > +        assert_equal(list(bridges(G)), [('c', 'd')])
> > +
> > +    def test_parallelEdge(self):
> > +        '''
> > +        a----b
> > +         \__/
> > +        '''
> > +        G = nx.MultiGraph()
> > +        G.add_edge(1, 2)
> > +        G.add_edge(1, 2)
> > +        print G.edges(), G[1][2]
>
> I would delete this line, so that the tests work on Python 3.x as well.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/networkx/networkx/pull/903/files#r5414342>
> .
>