#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 mpatel):
For `search_doc('this creates a polynomial ring')`, at least, the problem
seems to be that `ncadoctest.py`'s spoofed version of `sys.stdout` is
missing a `fileno()` method. `IPython.genutils.page` calls this
implicitly (line 1664 of `genutils.py`), when it tries to determine the
screen size. Replacing
{{{
from sage.misc.all import pager
pager()(r)
}}}
with something like
{{{
from IPython.genutils import page
page(r, screen_lines = 1)
}}}
disables the check. The doctest then passes.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806#comment:11>
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
-~----------~----~----~----~------~----~------~--~---