[pypy-svn] r74875 - pypy/branch/blackhole-improvement/pypy/jit/backend/test

arigo at codespeak.net arigo at codespeak.net
Fri May 28 21:31:26 CEST 2010


Author: arigo
Date: Fri May 28 21:31:25 2010
New Revision: 74875

Modified:
   pypy/branch/blackhole-improvement/pypy/jit/backend/test/runner_test.py
Log:
Test fix.


Modified: pypy/branch/blackhole-improvement/pypy/jit/backend/test/runner_test.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/jit/backend/test/runner_test.py	(original)
+++ pypy/branch/blackhole-improvement/pypy/jit/backend/test/runner_test.py	Fri May 28 21:31:25 2010
@@ -1663,6 +1663,8 @@
         x = cpu.bh_newstr(5)
         y = cpu.bh_cast_ptr_to_int(x)
         z = cpu.bh_cast_ptr_to_int(x)
+        y = llmemory.get_inthash_from_int(y)
+        z = llmemory.get_inthash_from_int(z)
         assert type(y) == type(z) == int and y == z
 
     def test_sorting_of_fields(self):



More information about the Pypy-commit mailing list