Ticket #6786 (closed defect: fixed)
fix doctest failures in doc/en/tutorial/tour_algebra.rst due to upgrade to Maxima 5.19.1
| Reported by: | drkirkby | Owned by: | AlexGhitza |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1.2 |
| Component: | algebra | Keywords: | maxima |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
On Solaris 10 update 7 (SPARC), the following test failed. Both ECL and Maxima were updated - ECL version 9.8.4, Maxima version 5.19.1. Sage was built with gcc 4.4.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/doc/en/tutorial/tour_algebra.rst"
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/tutorial/tour_algebra.rst", line 205:
sage: lde1 = de1.laplace("t","s"); lde1
Expected:
2*(-?%at('diff(x(t),t,1),t=0)+s^2*?%laplace(x(t),t,s)-x(0)*s)-2*?%laplace(y(t),t,s)+6*?%laplace(x(t),t,s)
Got:
2*(-?%at('diff(x(t),t,1),t=0)+s^2*'laplace(x(t),t,s)-x(0)*s)-2*'laplace(y(t),t,s)+6*'laplace(x(t),t,s)
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/tutorial/tour_algebra.rst", line 220:
sage: lde2 = de2.laplace("t","s"); lde2
Expected:
-?%at('diff(y(t),t,1),t=0)+s^2*?%laplace(y(t),t,s)+2*?%laplace(y(t),t,s)-2*?%laplace(x(t),t,s)-y(0)*s
Got:
-?%at('diff(y(t),t,1),t=0)+s^2*'laplace(y(t),t,s)+2*'laplace(y(t),t,s)-2*'laplace(x(t),t,s)-y(0)*s
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/tutorial/tour_algebra.rst", line 410:
sage: maxima.eval("f:bessel_y(v, w)")
Expected:
'?%bessel_y(v,w)'
Got:
'bessel_y(v,w)'
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/tutorial/tour_algebra.rst", line 412:
sage: maxima.eval("diff(f,w)")
Expected:
'(?%bessel_y(v-1,w)-?%bessel_y(v+1,w))/2'
Got:
'(bessel_y(v-1,w)-bessel_y(v+1,w))/2'
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_11
1 of 4 in __main__.example_12
2 of 4 in __main__.example_20
***Test Failed*** 4 failures.
For whitespace errors, see the file /export/home/drkirkby/sage/sage-4.1.1/tmp/.doctest_tour_algebra.py
Change History
comment:1 Changed 4 years ago by AlexGhitza
- Keywords maxima added
- Owner changed from tbd to AlexGhitza
- Status changed from new to assigned
- Summary changed from 4 doctest failures in sage-4.1.1/devel/sage/doc/en/tutorial/tour_algebra.rst to [with patch, needs review] fix doctest failures in doc/en/tutorial/tour_algebra.rst due to upgrade to Maxima 5.19.0
comment:2 Changed 4 years ago by drkirkby
- Summary changed from [with patch, needs review] fix doctest failures in doc/en/tutorial/tour_algebra.rst due to upgrade to Maxima 5.19.0 to [with patch, needs review] fix doctest failures in doc/en/tutorial/tour_algebra.rst due to upgrade to Maxima 5.19.1
Note: See
TracTickets for help on using
tickets.

Simple changes to Maxima formatting. See attached patch.