Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r53336:3c23a2c4669e
Date: 2012-03-12 12:19 -0700
http://bitbucket.org/pypy/pypy/changeset/3c23a2c4669e/

Log:    update to py3's hash(-inf)

diff --git a/pypy/objspace/std/test/test_floatobject.py 
b/pypy/objspace/std/test/test_floatobject.py
--- a/pypy/objspace/std/test/test_floatobject.py
+++ b/pypy/objspace/std/test/test_floatobject.py
@@ -104,7 +104,7 @@
         # testing special overflow values
         inf = 1e200 * 1e200
         assert hash(inf) == 314159
-        assert hash(-inf) == -271828
+        assert hash(-inf) == -314159
         assert hash(inf/inf) == 0
 
     def test_int_float(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to