Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54530:c9384faead26
Date: 2012-04-19 10:38 +0200
http://bitbucket.org/pypy/pypy/changeset/c9384faead26/

Log:    fix this test which was broken by aa1d34b5a927

diff --git a/pypy/rlib/test/test_objectmodel.py 
b/pypy/rlib/test/test_objectmodel.py
--- a/pypy/rlib/test/test_objectmodel.py
+++ b/pypy/rlib/test/test_objectmodel.py
@@ -160,8 +160,8 @@
 
 def test_compute_hash_float():
     from pypy.rlib.rfloat import INFINITY, NAN
-    assert compute_hash(INFINITY) == 314159
-    assert compute_hash(-INFINITY) == -271828
+    assert compute_hash(INFINITY) == HASH_INF
+    assert compute_hash(-INFINITY) == -HASH_INF
     assert compute_hash(NAN) == 0
 
 def test_compute_identity_hash():
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to