[pypy-svn] r18086 - pypy/dist/pypy/rpython/test

arigo at codespeak.net arigo at codespeak.net
Sun Oct 2 18:59:06 CEST 2005


Author: arigo
Date: Sun Oct  2 18:59:03 2005
New Revision: 18086

Modified:
   pypy/dist/pypy/rpython/test/test_lltype.py
Log:
fix test.


Modified: pypy/dist/pypy/rpython/test/test_lltype.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_lltype.py	(original)
+++ pypy/dist/pypy/rpython/test/test_lltype.py	Sun Oct  2 18:59:03 2005
@@ -411,10 +411,12 @@
 
 def test_is_atomic():
     U = Struct('inlined', ('z', Signed))
-    P = Ptr(RuntimeTypeInfo)
+    A = Ptr(RuntimeTypeInfo)
+    P = Ptr(GcStruct('p'))
     Q = GcStruct('q', ('i', Signed), ('u', U), ('p', P))
     O = OpaqueType('O')
     F = GcForwardReference()
+    assert A._is_atomic() is True
     assert P._is_atomic() is False
     assert Q.i._is_atomic() is True
     assert Q.u._is_atomic() is True



More information about the Pypy-commit mailing list