#16746: Use the Sage displayhook in doctests
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  blocker            |    Milestone:  sage-6.4
      Component:  doctest framework  |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/sort_dicts_in_doctests    |  b579b925651aae99d40731436be2300f11238265
   Dependencies:  #16992             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):

 * status:  needs_review => needs_work


Comment:

 In `src/sage/graphs/generic_graph.py`, this was probably intended as a
 doctest (although certainly something went wrong around those lines):
 {{{
 sage: g.layout(layout="acyclic_dummy", save_po=True)
 {('0', 0): [0.3356712660780875, 0],
  ('0', 1): [0.33563875939602245, 1],
  ('1', 0): [0.6751346747788185, 0],
  ('1', 1): [0.6715689173983604, 1]}
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16746#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to