Both of the graphs below are the path graph on 3 vertices. The problem is that the first labeling returns a permutation group of degree 2, when it should be of degree 3.
sage: g=Graph('Bo')
sage: print g.automorphism_group().degree()
2
sage: h=Graph('Bg')
sage: print h.automorphism_group().degree()
3
sage: g.is_isomorphic(h)
True
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/3404