[pypy-svn] r22247 - pypy/dist/pypy/rpython/memory/test

mwh at codespeak.net mwh at codespeak.net
Tue Jan 17 12:42:10 CET 2006


Author: mwh
Date: Tue Jan 17 12:42:09 2006
New Revision: 22247

Modified:
   pypy/dist/pypy/rpython/memory/test/test_address.py
Log:
don't give the tested struct a name of "('x', Bool)" :)


Modified: pypy/dist/pypy/rpython/memory/test/test_address.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/test/test_address.py	(original)
+++ pypy/dist/pypy/rpython/memory/test/test_address.py	Tue Jan 17 12:42:09 2006
@@ -115,7 +115,7 @@
     def test_simple_offsetof(self):
         from pypy.rpython.lltypesystem import lltype
         from pypy.rpython.memory.lladdress import offsetof
-        S = lltype.GcStruct(('x', lltype.Bool), ('y', lltype.Signed))
+        S = lltype.GcStruct('S', ('x', lltype.Bool), ('y', lltype.Signed))
         def f():
             return offsetof(S, 'x') + offsetof(S, 'y')
         a = RPythonAnnotator()



More information about the Pypy-commit mailing list