[pypy-svn] r51647 - pypy/branch/gc_hash/pypy/rpython/test

arigo at codespeak.net arigo at codespeak.net
Tue Feb 19 18:21:52 CET 2008


Author: arigo
Date: Tue Feb 19 18:21:52 2008
New Revision: 51647

Modified:
   pypy/branch/gc_hash/pypy/rpython/test/test_rptr.py
Log:
Fix test.


Modified: pypy/branch/gc_hash/pypy/rpython/test/test_rptr.py
==============================================================================
--- pypy/branch/gc_hash/pypy/rpython/test/test_rptr.py	(original)
+++ pypy/branch/gc_hash/pypy/rpython/test/test_rptr.py	Tue Feb 19 18:21:52 2008
@@ -314,7 +314,7 @@
     assert res == 1
  
 def test_hash_gc_object():
-    T = GcStruct('T', ('x', Signed))
+    T = GcStruct('T', ('x', Signed), hash_cache=True)
     t1 = malloc(T)
     t2 = malloc(T)
     hash1 = hash_gc_object(t1)



More information about the Pypy-commit mailing list