#6796: doctest failure in sage/sage/interfaces/psage.py due to upgrade to Maxima
5.19.1
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: interfaces | Keywords: maxima
Reviewer: | Author:
Merged: |
------------------------+---------------------------------------------------
On Solaris (SPARC), the following tests failed. Both ECL and Maxima were
updated - ECL version 9.8.4 (see trac #6564); Maxima version 5.19.1 (see
trac #6699). Updated spkgs can be found here.
http://sage.math.washington.edu/home/kirkby/Solaris-
fixes/ecl-9.8.4/ecl-9.8.4.spkg
http://sage.math.washington.edu/home/kirkby/Solaris-fixes/maxima-5.19.1/
{{{
----------------------------------------------------------------------
| Sage Version 4.1.1, Release Date: 2009-08-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Thu Aug 20 20:02:37 BST 2009
dsage-trial tmp directory doesn't exist - creating ...
This script will run the unit tests for DSage
}}}
<SNIP>
{{{
sage -t "devel/sage/sage/interfaces/psage.py"
**********************************************************************
File
"/export/home/drkirkby/sage/sage-4.1.1/devel/sage/sage/interfaces/psage.py",
line 23:
sage: w = [x('factor(2^%s-1)'% randint(250,310)) for x in v]
Exception raised:
Traceback (most recent call last):
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[3]>", line 1, in <module>
w = [x('factor(2^%s-1)'% randint(Integer(250),Integer(310))) for x
in v]###line 23:
sage: w = [x('factor(2^%s-1)'% randint(250,310)) for x in v]
File "/export/home/drkirkby/sage/sage-4.1.1/local/lib/python/site-
packages/sage/interfaces/sage0.py", line 263, in __call__
return SageElement(self, x)
File "/export/home/drkirkby/sage/sage-4.1.1/local/lib/python/site-
packages/sage/interfaces/expect.py", line 1433, in __init__
raise TypeError, x
TypeError: Unable to start sage
**********************************************************************
File
"/export/home/drkirkby/sage/sage-4.1.1/devel/sage/sage/interfaces/psage.py",
line 26:
sage: print "ignore this"; w # random output (depends on
timing)
Exception raised:
Traceback (most recent call last):
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[4]>", line 1, in <module>
print "ignore this"; w # random output (depends on
timing)###line 26:
sage: print "ignore this"; w # random output (depends on
timing)
NameError: name 'w' is not defined
**********************************************************************
File
"/export/home/drkirkby/sage/sage-4.1.1/devel/sage/sage/interfaces/psage.py",
line 35:
sage: print "ignore this"; w # random output
Exception raised:
Traceback (most recent call last):
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/export/home/drkirkby/sage/sage-4.1.1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[5]>", line 1, in <module>
print "ignore this"; w # random output###line 35:
sage: print "ignore this"; w # random output
NameError: name 'w' is not defined
**********************************************************************
1 items had failures:
3 of 6 in __main__.example_0
***Test Failed*** 3 failures.
For whitespace errors, see the file
/export/home/drkirkby/sage/sage-4.1.1/tmp/.doctest_psage.py
[87.0 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6796>
Sage <http://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 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
-~----------~----~----~----~------~----~------~--~---