#14266: Pretty Console Output --> ascii art
---------------------------------------+------------------------------------
Reporter: elixyre | Owner: was
Type: task | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: user interface | Resolution:
Keywords: ascii-art | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jean-Baptiste Priez | Merged in:
Dependencies: | Stopgaps:
---------------------------------------+------------------------------------
Comment (by elixyre):
I make some modifications to use correctly displayhook.
I have several problems for make tests: I use the fact to be in a terminal
to take the width of the window... excepted in test context it seems to be
differents...
{{{
File "ascii_art.py", line 25, in sage.misc.ascii_art
Failed example:
ascii_art(integrate(n^2/(pi*x),x))
Expected:
2
n *log(x)
---------
pi
Got:
stty: stdin isn't a terminal
2
n *log(x)
---------
pi
}}}
There is an other points, if we use utf8 in the terminal, it is not utf8
during the tests...
Why don't pass sage to utf8?
Thanks,
Jean-Baptiste
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14266#comment:34>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.