Comment #2 on issue 2282 by asmeurer: doctests broken by the commit
edabb89c5006a7
http://code.google.com/p/sympy/issues/detail?id=2282
Yeah, I don't get any doctest failures in 64-bit or 32-bit.
Aaron-Meurer:sympy aaronmeurer(master$%|BISECTING=)$./bin/doctest geo
============================= test process starts
==============================
executable: /sw/bin/python (2.7.1-final-0)
sympy/geometry/curve.py[1] .
[OK]
sympy/geometry/ellipse.py[3] ...
[OK]
sympy/geometry/line.py[3] ...
[OK]
sympy/geometry/point.py[6] ......
[OK]
sympy/geometry/polygon.py[34] ..................................
[OK]
sympy/geometry/util.py[2] ..
[OK]
================= tests finished: 49 passed, in 29.53 seconds
==================
============================== txt doctests start
==============================
sympy/doc/src/modules/geometry.txt [46]
[OK]
Aaron-Meurer:sympy aaronmeurer(master$%|BISECTING=)$systempython
bin/doctest geo
============================= test process starts
==============================
executable:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
(2.7.1-final-0)
sympy/geometry/curve.py[1] .
[OK]
sympy/geometry/ellipse.py[3] ...
[OK]
sympy/geometry/line.py[3] ...
[OK]
sympy/geometry/point.py[6] ......
[OK]
sympy/geometry/polygon.py[34] ..................................
[OK]
sympy/geometry/util.py[2] ..
[OK]
================== tests finished: 49 passed, in 5.40 seconds
==================
============================== txt doctests start
==============================
sympy/doc/src/modules/geometry.txt [46]
[OK]
So somewhere this is system dependent. You have two options: change the
doctest to something else, or canonize the output somehow (for example, by
doing t.inradius.expand() instead of t.inradius). I think the second
option is better here, since the a**2 in the denominator can cancel with
both terms in the numerator anyway.
--
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.