[pypy-svn] r51724 - pypy/branch/unified-rtti/pypy/rpython/lltypesystem/test

arigo at codespeak.net arigo at codespeak.net
Thu Feb 21 15:30:57 CET 2008


Author: arigo
Date: Thu Feb 21 15:30:57 2008
New Revision: 51724

Modified:
   pypy/branch/unified-rtti/pypy/rpython/lltypesystem/test/test_llmemory.py
Log:
Fix test.


Modified: pypy/branch/unified-rtti/pypy/rpython/lltypesystem/test/test_llmemory.py
==============================================================================
--- pypy/branch/unified-rtti/pypy/rpython/lltypesystem/test/test_llmemory.py	(original)
+++ pypy/branch/unified-rtti/pypy/rpython/lltypesystem/test/test_llmemory.py	Thu Feb 21 15:30:57 2008
@@ -349,7 +349,7 @@
 def test_raw_malloc_gcstruct():
     from pypy.rpython.memory import gcheader
     HDR = lltype.Struct('header', ('a', lltype.Signed))
-    builder = gcheader.GCHeaderBuilder(HDR)
+    builder = gcheader.GCHeaderBuilder(HDR, None)
     gchdr = builder.size_gc_header
     S = lltype.GcStruct('S', ('x', lltype.Signed))
 
@@ -433,7 +433,7 @@
     from pypy.rpython.memory.gcheader import GCHeaderBuilder
     
     HDR = lltype.Struct('h', ('t', lltype.Signed))
-    gh = GCHeaderBuilder(HDR).size_gc_header
+    gh = GCHeaderBuilder(HDR, None).size_gc_header
     
     A = lltype.GcArray(lltype.Signed)
     adr = raw_malloc(gh+sizeof(A, 10))



More information about the Pypy-commit mailing list