#5806: failing test "devel/sage/sage/misc/sagedoc.py"
--------------------+-------------------------------------------------------
Reporter: jsp | Owner: cwitty
Type: defect | Status: new
Priority: major | Milestone:
Component: misc | Keywords:
--------------------+-------------------------------------------------------
On fedora 9, 32 bit this fails:
{{{
sage -t "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File
"/home/jaap/downloads/sage-3.4.1.rc0/devel/sage/sage/misc/sagedoc.py",
line 411:
sage: print "ignore this"; search_doc('this creates a polynomial
ring') # random # this function has no output: it just prints a string
Exception raised:
Traceback (most recent call last):
File "/home/jaap/downloads/sage-3.4.1.rc0/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/jaap/downloads/sage-3.4.1.rc0/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/jaap/downloads/sage-3.4.1.rc0/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_8[2]>", line 1, in <module>
print "ignore this"; search_doc('this creates a polynomial ring')
# random # this function has no output: it just prints a string###line
411:
sage: print "ignore this"; search_doc('this creates a polynomial
ring') # random # this function has no output: it just prints a string
File "/home/jaap/downloads/sage-3.4.1.rc0/local/lib/python2.5/site-
packages/sage/misc/sagedoc.py", line 431, in search_doc
pager()(r)
File "/home/jaap/downloads/sage-3.4.1.rc0/local/lib/python2.5/site-
packages/IPython/genutils.py", line 1664, in page
term_flags = termios.tcgetattr(sys.stdout)
TypeError: argument must be an int, or have a fileno() method.
**********************************************************************
1 items had failures:
1 of 3 in __main__.example_8
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/jaap/downloads/sage-3.4.1.rc0/tmp/.doctest_sagedoc.py
[46.3 s]
exit code: 1024
}}}
Whatever :)
Jaap
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5806>
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
-~----------~----~----~----~------~----~------~--~---