id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
16746 Use the Sage displayhook in doctests vbraun "The doctests output should look like the Sage commandline output, which it currently does not quite. Differences include:
* Dictionaries will be sorted by key, makes output more reproducable
* Sets are printed as `{1,2}` instead of `set([1,2])`
* Empty set is `set()` instead of `set([])`
* Types are `` instead of ``
Other changes:
* Normal tracebacks can now be distinguished from tracebacks in `__repr__` (IPython extension):
{{{
sage: f(*args)
) failed: ValueError: The session in which this object was defined is no longer running.>
}}}
* Plots now print themselves in doctest mode:
{{{
sage: A.plot()
Graphics object consisting of 1 graphics primitive
}}}" defect closed blocker sage-6.4 doctest framework fixed dkrenn Volker Braun François Bissey N/A 3070715a7f656326260a9ef6635884e69fa0136f 3070715a7f656326260a9ef6635884e69fa0136f #16992