Ticket #11908: trac_11908-more_test.patch

File trac_11908-more_test.patch, 775 bytes (added by chapoton, 8 years ago)
  • sage/graphs/generic_graph.py

    # HG changeset patch
    # User Frederic Chapoton <chapoton at math.univ-lyon1.fr>
    # Date 1368121659 -7200
    # Node ID eab5ef88a8c9f66c62a72abdc2d8dc1dc20b3f28
    # Parent  d38af13415d6e01c39449656a183a533f951e553
    [mq]: trac_11908-more_test.patch
    
    diff --git a/sage/graphs/generic_graph.py b/sage/graphs/generic_graph.py
    a b class GenericGraph(GenericGraph_pyx): 
    1401314013
    1401414014        TESTS::
    1401514015
     14016            sage: T = graphs.RandomTree(100)
     14017            sage: T.plot(layout='tree',save_pos=True)
     14018            sage: T.is_drawn_free_of_edge_crossings()
     14019            True
     14020
    1401614021            sage: G = graphs.CycleGraph(3)
    1401714022            sage: G.plot(layout='tree')
    1401814023            Traceback (most recent call last):