Ticket #5035 (closed defect: fixed)
[with patch; positive review] get doctest coverage of matrix_generic_dense.pyx up to 100%
| Reported by: | was | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.3 |
| Component: | linear algebra | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Attachments
Change History
Changed 4 years ago by was
-
attachment
trac_5035.patch
added
comment:1 Changed 4 years ago by was
- Summary changed from get doctest coverage of matrix_generic_dense.pyx up to 100% to [with patch; needs review] get doctest coverage of matrix_generic_dense.pyx up to 100%
comment:2 Changed 4 years ago by ddrake
The patch applies cleanly, but I get a doctest error:
sage -t "devel/sage-main/sage/matrix/matrix_generic_dense.pyx"
**********************************************************************
File "/var/tmp/sage-3.3.alpha0/devel/sage-main/sage/matrix/matrix_generic_dense.pyx", line 161:
sage: hash(A)
Expected:
-623270016
Got:
139665060168050560
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_6
***Test Failed*** 1 failures.
For whitespace errors, see the file /var/tmp/sage-3.3.alpha0/tmp/.doctest_matrix_generic_dense.py
[1.1 s]
exit code: 1024
comment:3 Changed 4 years ago by ddrake
- Summary changed from [with patch; needs review] get doctest coverage of matrix_generic_dense.pyx up to 100% to [with patch; positive review] get doctest coverage of matrix_generic_dense.pyx up to 100%
With both patches applied, we have 100% coverage, and the examples are nice. Positive review.
Note: See
TracTickets for help on using
tickets.

this is against sage-3.3.alpha0