Hello, I just tested the new rc. In linux 64-bits using tox, all tests pass with python and gmpy ground types.
In Windows XP, all tests pass with python 2.5-2.7. With python2.4 I get a lot of errors, and the test suite doesn't even finish. I uploaded the output to https://gist.github.com/1026644. I'm not sure if it's worthwhile to pursue all those errors though. I also noticed that caching introduces some errors. In python2.7 in linux, if I run sympy.test() twice in the same session, I get the errors below. Fortunately, none of the failures look too dangerous, but it shows caching does have some colateral effects. Renato _____________ sympy/core/tests/test_numbers.py:test_integers_cache _____________ File "/home/renato/down/sympy-0.7.0.rc2/sympy/core/tests/test_numbers.py", line 14, in test_integers_cache value += 1 UnboundLocalError: local variable 'value' referenced before assignment ________________________________________________________________________________ _________ sympy/assumptions/tests/test_query.py:test_key_extensibility _________ File "/home/renato/down/sympy-0.7.0.rc2/sympy/assumptions/tests/test_query.py", line 976, in test_key_extensibility raises(AttributeError, "ask(Q.my_key(x))") File "sympy/utilities/pytest.py", line 49, in raises raise AssertionError("DID NOT RAISE") AssertionError: DID NOT RAISE ________________________________________________________________________________ __________ sympy/core/tests/test_numbers.py:test_conversion_to_mpmath __________ File "/home/renato/down/sympy-0.7.0.rc2/sympy/core/tests/test_numbers.py", line 703, in test_conversion_to_mpmath assert mpmath.mpmathify(Float('1.23')) == mpmath.mpf('1.23') AssertionError ________________________________________________________________________________ _________________ sympy/core/tests/test_symbol.py:test_symbols _________________ File "/home/renato/down/sympy-0.7.0.rc2/sympy/core/tests/test_symbol.py", line 123, in test_symbols raises(DeprecationWarning, "symbols('xyz', each_char=True)") File "sympy/utilities/pytest.py", line 49, in raises raise AssertionError("DID NOT RAISE") AssertionError: DID NOT RAISE ________________________________________________________________________________ ______________ sympy/geometry/tests/test_geometry.py:test_polygon ______________ File "/home/renato/down/sympy-0.7.0.rc2/sympy/geometry/tests/test_geometry.py", line 593, in test_polygon raises(UserWarning, "p1.distance(p2)") File "sympy/utilities/pytest.py", line 49, in raises raise AssertionError("DID NOT RAISE") AssertionError: DID NOT RAISE -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
