Ticket #6783 (closed defect: fixed)
fix doctest failures in doc/en/constructions/linear_algebra.rst due to upgrade to Maxima 5.19.1
| Reported by: | drkirkby | Owned by: | AlexGhitza |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1.2 |
| Component: | linear algebra | Keywords: | maxima |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by drkirkby) (diff)
On Solaris (SPARC), the following tests failed. Both ECL and Maxima were updated - ECL version 9.8.4, Maxima version 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/doc/en/constructions/linear_algebra.rst"
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst", line 276:
sage: eig
Expected:
[[[-sqrt(3)*%i,sqrt(3)*%i],[1,1]],[1,(sqrt(3)*%i+1)/4],[1,-(sqrt(3)*%i-1)/4]]
Got:
[[[-sqrt(3)*%i,sqrt(3)*%i],[1,1]],[[[1,(sqrt(3)*%i+1)/4]],[[1,-(sqrt(3)*%i-1)/4]]]]
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst", line 291:
sage: A.eigenvectors()
Expected:
[[[2,11],[1,2]],[0,0,1],[0,1,1/3]]
Got:
[[[2,11],[1,2]],[[[0,0,1]],[[0,1,1/3]]]]
**********************************************************************
File "/export/home/drkirkby/sage/sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst", line 294:
sage: A.eigenvectors()
Expected:
[[[-1,2],[2,1]],[0,1,-1],[0,0,1]]
Got:
[[[-1,2],[2,1]],[[[0,1,-1]],[[0,0,1]]]]
**********************************************************************
2 items had failures:
1 of 5 in __main__.example_11
2 of 6 in __main__.example_12
***Test Failed*** 3 failures.
For whitespace errors, see the file /export/home/drkirkby/sage/sage-4.1.1/tmp/.doctest_linear_algebra.py
[19.2 s]
sage -t "devel/sage/doc/en/constructions/number_theory.rst"
Attachments
Change History
comment:1 Changed 4 years ago by drkirkby
- Description modified (diff)
- Summary changed from Doctest failure in sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst to 3 doctest failures in sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst
comment:2 Changed 4 years ago by AlexGhitza
- Keywords maxima added
- Summary changed from 3 doctest failures in sage-4.1.1/devel/sage/doc/en/constructions/linear_algebra.rst to [with patch, needs review] fix doctest failures in doc/en/constructions/linear_algebra.rst due to upgrade to Maxima 5.19.0
This is due to changes in Maxima's formatting of the output for eigenvectors. See attached patch.
Changed 4 years ago by AlexGhitza
-
attachment
trac_6783.patch
added
comment:3 Changed 4 years ago by AlexGhitza
- Owner changed from was to AlexGhitza
- Status changed from new to assigned
comment:4 Changed 4 years ago by drkirkby
- Summary changed from [with patch, needs review] fix doctest failures in doc/en/constructions/linear_algebra.rst due to upgrade to Maxima 5.19.0 to [with patch, needs review] fix doctest failures in doc/en/constructions/linear_algebra.rst due to upgrade to Maxima 5.19.1
Note: See
TracTickets for help on using
tickets.
