Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2596 by [email protected]: mpmath.runtests() - test_hash in test_basic_ops failed
http://code.google.com/p/sympy/issues/detail?id=2596

C:\Windows\System32>python
Python 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import mpmath
mpmath.runtests()
mpmath imported from C:\Python32\lib\site-packages\mpmath
mpmath backend: gmpy
mpmath mp class: <mpmath.ctx_mp.MPContext object at 0x0000000003002860>
mpmath version: 0.17
Python version: 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64 bit (AMD64)]

test_basic_ops
    add                       ok        0.0007261 s
    add_misc                  ok        0.0003165 s
    add_rounding              ok        0.0000600 s
    almost_equal              ok        0.0002454 s
    arithmetic_functions      ok        0.0140104 s
    complex_misc              ok        0.0002533 s
    complex_zeros             ok        0.0011992 s
    div                       ok        0.0007004 s
    exact_integer_arithmetic  ok        0.0618262 s
    floor_ceil_nint_frac      ok        0.0040209 s
    hash
TEST FAILED!

Traceback (most recent call last):
File "C:\Python32\lib\site-packages\mpmath\tests\runtests.py", line 126, in testit
    module.__dict__[f]()
File "C:\Python32\lib\site-packages\mpmath\tests\test_basic_ops.py", line 151, in test_hash
    assert hash(mpf(1))*2**2000 == hash(2**2000)
AssertionError

--
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.

Reply via email to