#5806: Sage 3.4.1.rc3: failing test "devel/sage/sage/misc/sagedoc.py"
---------------------+------------------------------------------------------
Reporter: jsp | Owner: cwitty
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.4.1
Component: misc | Keywords:
---------------------+------------------------------------------------------
Comment(by ddrake):
Replying to [comment:7 jhpalmieri]:
> Replying to [comment:2 ddrake]:
>
> {{{
>
> **********************************************************************
> File "/var/tmp/sage-3.4.1.rc/devel/sage/sage/misc/sagedoc.py", line 238:
> sage: format_src('<<<Sqsage:')[5:15]
> Expected:
> 'Sq(*nums):'
> }}}
>
> Note that the doctest in the file says {{{sage:
format_src('<<<Sq>>>')[5:15]}}}. Why is {{{>>>}}} getting changed to
{{{sage:}}}?
That is weird, but {{{>>>}}} is the usual prompt command in Python, so
something is replacing that prompt with the usual Sage one. Something in
the preparser?
Replying to [comment:9 jhpalmieri]:
> I think ddrake's problem is caused because he is using a binary-only
distribution,
> and so source codes are not available.
Nope, I am using a source distribution. Moreover, since these are Python
files, shouldn't it *always* be possible to search the source?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806#comment:10>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---