Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3026 by [email protected]: Latex printing test failure in
master
http://code.google.com/p/sympy/issues/detail?id=3026
I found this failure in master from test_latex.py. This error comes up on
2.7, 2.5 and 3.2 in 64-bit (all with numpy and gmpy), but it does not in
2.5 or 3.2 in 32-bit (both with neither with numpy nor gmpy). All of this
is on Linux. Matt's tests with Python 2.7 here [1] suggest it is ground
types issue rather than 64 vs 32 bit, but running with
SYMPY_GROUND_TYPES="python" doesn't fix this for any of the 64-bit tests. I
bisected it to:
commit 1dd1efce9a8ef33d647ddb08d8d03ade6dceddc8
Author: Chris Smith <[email protected]>
Date: Mon Jan 23 13:05:27 2012 +0545
cover matAdd printing
which just came in with the "As coeff mul" merge. Here is the output of a
test run:
$ python2.5 ./bin/test latex
============================================= test process starts
=============================================
executable: /usr/bin/python2.5 (2.5.4-final-0)
architecture: 64-bit
cache: yes
ground types: gmpy
random seed: 12830513
sympy/printing/tests/test_latex.py[40] ..f....................................F
[FAIL]
_______________________________________________________________________________________________________________
_______________________________
sympy/printing/tests/test_latex.py:test_matAdd
________________________________
File "/home/sean/sympy/sympy/printing/tests/test_latex.py", line 448, in
test_matAdd
assert l._print_MatAdd(C - 2*B) == '- 2 B + C'
AssertionError
================== tests finished: 38 passed, 1 failed, 1 expected to fail,
in 0.12 seconds ===================
DO *NOT* COMMIT!
This is the output I get from the command on line 448:
In [6]: l._print_MatAdd(C - 2*B)
Out[6]: + C - 2 B
[1] http://reviews.sympy.org/pullrequest/1013/
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.