#12415: Update doctesting framework
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Reporter: robertwb
|
Owner: jdemeyer
Type: enhancement
|
Status: needs_review
Priority: major
|
Milestone: sage-5.8
Component: doctest
|
Resolution:
Keywords:
|
Work issues:
Report Upstream: N/A
|
Reviewers: Jeroen Demeyer, David Roe
Authors: David Roe, Robert Bradshaw, Jeroen Demeyer
|
Merged in:
Dependencies: #13147,#13146, #13145, #12723, #12392, #12393, #12395,
#12396, #12397, #12381, #12382, #12383, #12384, #11871, #13195, #13121, #13748,
#13899, #12719, #5155, #14070, #14079, #14150, #14158, #14182, #14184, #14054
| Stopgaps:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Comment (by jdemeyer):
Replying to [comment:244 jhpalmieri]:
> When I run `make ptestlong`, things look fine on the screen, but I see
some funny characters in ptestlong.log (this is on OS X 10.8.2):
> {{{
> Doctesting 2283 files using 2 threads.
> ^[[?1034hsage -t --long devel/sage/sage/misc/interpreter.py
> [107 tests, 12.0 s]
> }}}
> So far, this is the only instance of this in the file. Could it be some
sort of terminal color escape sequence?
Yes. It most likely comes from the `import readline` I added in
`init_sage()` (this happens once, so it's normal you see it only once in
`ptestlong.log`). I have been fighting quite a bit with terminal I/O in
this new doctester, and this is yet another manifestion of terminal issues
:-(
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:246>
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.