Opened 12 years ago

Closed 12 years ago

#878 closed defect (fixed)

[with patch] graphs/graph.py: Correct a doctest failing on some systems due to different output ordering.

Reported by: jason Owned by: was
Priority: blocker Milestone: sage-2.8.7
Component: combinatorics Keywords: graphs
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

diff -r 04e9996b0332 sage/graphs/graph.py
--- a/sage/graphs/graph.py      Sat Oct 13 13:12:24 2007 -0500
+++ b/sage/graphs/graph.py      Sat Oct 13 13:39:03 2007 -0500
@@ -2114,11 +2114,13 @@ class GenericGraph(SageObject):
             (2, 3, None),
             (2, 4, None),
             (3, 4, None)]
-            sage: h.edges()
-            [((2, 3, None), (3, 4, None), None),
-            ((1, 2, None), (2, 4, None), None),
-            ((1, 2, None), (2, 3, None), None),
-            ((1, 3, None), (3, 4, None), None)]
+            sage: sage: h.am()
+            [0 0 0 1 1 0]
+            [0 0 0 0 0 1]
+            [0 0 0 0 0 0]
+            [0 0 0 0 0 1]
+            [0 0 0 0 0 0]
+            [0 0 0 0 0 0]

         """
         if self.is_directed():

Change History (3)

comment:1 Changed 12 years ago by cwitty

  • Priority changed from major to blocker

comment:2 Changed 12 years ago by cwitty

  • Summary changed from [with patch] graphs: Correct a doctest failing on some systems due to different output ordering. to [with patch] graphs/graph.py: Correct a doctest failing on some systems due to different output ordering.

comment:3 Changed 12 years ago by was

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.