cschwan/sage-on-gentoo — Issue #106: sci-mathematics/sage-notebook-0.8.23 fails tests
Author: veelai
Created: 2011-11-23 13:32:24+00:00
State: open

On my machine sage-notebook fails its tests with

File "/var/tmp/portage/sci-mathematics/sage-notebook-0.8.23/work/sagenb-0.8.23/src/sagenb/sagenb/misc/sageinspect.py", line 88:
sage: sage_getdoc(sage.rings.rational.make_rational).lstrip()
Expected:
"Make a rational number ..."
Got:
'Make a rational number from s (a string in base 32)\n\n INPUT:\n\n * "s" - string in base 32\n\n OUTPUT: Rational\n\n EXAMPLES:\n\n sage: (-7/15).str(32)\n \'-7/f\'\n sage: sage.rings.rational.make_rational(\'-7/f\')\n -7/15\n'
**********************************************************************
File "/var/tmp/portage/sci-mathematics/sage-notebook-0.8.23/work/sagenb-0.8.23/src/sagenb/sagenb/misc/sageinspect.py", line 102:
sage: sage_getdoc(sagenb.misc.sageinspect.sage_getfile).lstrip()
Expected:
"Get the full file name associated to ``obj`` as a string..."
Got:
'Get the full file name associated to "obj" as a string.\n\n INPUT: "obj", a Sage object, module, etc.\n\n EXAMPLES:\n\n sage: from sagenb.misc.sageinspect import sage_getfile\n sage: sage_getfile(sage.rings.rational)[-23:]\n \'sage/rings/rational.pyx\'\n sage: sage_getfile(Sq)[-42:]\n \'sage/algebras/steenrod/steenrod_algebra.py\'\n\n AUTHOR: - Nick Alexander\n'

This looks pretty trivial.