#14733: pretty unicode banner
-------------------------------------+--------------------------------------
       Reporter:  chapoton           |         Owner:  tbd         
           Type:  enhancement        |        Status:  needs_review
       Priority:  minor              |     Milestone:  sage-5.11   
      Component:  user interface     |    Resolution:              
       Keywords:  banner, unicode    |   Work issues:              
Report Upstream:  N/A                |     Reviewers:              
        Authors:  Frédéric Chapoton  |     Merged in:              
   Dependencies:  #14559             |      Stopgaps:              
-------------------------------------+--------------------------------------

Comment (by vbraun):

 I manually updated `local/bin/sage-banner` and get the following two
 doctest errors:
 {{{
 $ sage -t --long devel/sage/sage/tests/cmdline.py  # 1 doctest failed
 Running doctests with ID 2013-07-05-21-44-50-a5339967.
 Doctesting 1 file.
 sage -t --long devel/sage/sage/tests/cmdline.py
 **********************************************************************
 File "devel/sage/sage/tests/cmdline.py", line 185, in
 sage.tests.cmdline.test_executable
 Failed example:
     out.find(version()) >= 0
 Expected:
     True
 Got:
     False
 **********************************************************************
 1 item had failures:
    1 of 205 in sage.tests.cmdline.test_executable
     [204 tests, 1 failure, 17.97 s]
 ----------------------------------------------------------------------
 sage -t --long devel/sage/sage/tests/cmdline.py  # 1 doctest failed
 ----------------------------------------------------------------------
 Total time for all tests: 18.0 seconds
     cpu time: 0.2 seconds
     cumulative wall time: 18.0 seconds
 $ sage -t --long devel/sage/sage/misc/trace.py  # 1 doctest failed
 Running doctests with ID 2013-07-05-21-45-09-11b2ac64.
 Doctesting 1 file.
 sage -t --long devel/sage/sage/misc/trace.py
 **********************************************************************
 File "devel/sage/sage/misc/trace.py", line 61, in sage.misc.trace.trace
 Failed example:
     print s.before[s.before.find('-'):]
 Expected:
     ---...
     ipdb> c
     2 * 5
 Got:
     -06-21                  │
     │ Type "notebook()" for the browser-based notebook interface.        │
     │ Type "help()" for help.                                            │
     └────────────────────────────────────────────────────────────────────┘
     <CSI-
 31m>┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
     ┃                                                                    ┃
     ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
     ┃                                                                    ┃
 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛<CSI-
 0m>
     trace('print factor(10)'); print 3+97
     s<CSI-?1034h>
     c
     <CSI-0;34m>sage: <CSI-0m>trace('print factor(10)'); print 3+97
     > <string>(1)<module>()

     ipdb> s
     --Call--
     > /home/vbraun/opt/sage-5.11.beta3/local/lib/python2.7/site-
 packages/sage/rings/arith.py(2314)factor()
        2313
     -> 2314 def factor(n, proof=None, int_=False, algorithm='pari',
 verbose=0, **kwds):
        2315     """

     ipdb> c
     2 * 5
     <BLANKLINE>
 **********************************************************************
 1 item had failures:
    1 of   9 in sage.misc.trace.trace
     [8 tests, 1 failure, 1.28 s]
 ----------------------------------------------------------------------
 sage -t --long devel/sage/sage/misc/trace.py  # 1 doctest failed
 ----------------------------------------------------------------------
 Total time for all tests: 1.3 seconds
     cpu time: 0.0 seconds
     cumulative wall time: 1.3 seconds
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14733#comment:10>
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/groups/opt_out.


Reply via email to