[pypy-commit] pypy SpecialisedTuples: (mwp) extend hash test to check floats which happen to be integers

mwp noreply at buildbot.pypy.org
Thu Nov 10 10:47:49 CET 2011


Author: Mark Pearse <mark.pearse at skynet.be>
Branch: SpecialisedTuples
Changeset: r49102:571038b4cd14
Date: 2011-11-07 10:55 +0100
http://bitbucket.org/pypy/pypy/changeset/571038b4cd14/

Log:	(mwp) extend hash test to check floats which happen to be integers

diff --git a/pypy/objspace/std/test/test_specialisedtupleobject.py b/pypy/objspace/std/test/test_specialisedtupleobject.py
--- a/pypy/objspace/std/test/test_specialisedtupleobject.py
+++ b/pypy/objspace/std/test/test_specialisedtupleobject.py
@@ -37,6 +37,7 @@
 
         hash_test([1,2])
         hash_test([1.5,2.8])
+        hash_test([1.0,2.0])
         hash_test(['arbitrary','strings'])
         
     def test_setitem(self):


More information about the pypy-commit mailing list