[pypy-svn] r65237 - pypy/branch/pyjitpl5/pypy/jit/backend/x86/test

arigo at codespeak.net arigo at codespeak.net
Mon May 11 22:16:32 CEST 2009


Author: arigo
Date: Mon May 11 22:16:31 2009
New Revision: 65237

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_symbolic.py
Log:
Fix test.


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_symbolic.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_symbolic.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_symbolic.py	Mon May 11 22:16:31 2009
@@ -48,10 +48,10 @@
     cpu = CPU386(None, None)
     A = lltype.GcArray(lltype.Ptr(lltype.Array(lltype.Signed)))
     descr = cpu.arraydescrof(A)
-    assert not descr.v[2]
+    assert not descr.flag2
     A = lltype.GcArray(lltype.Ptr(lltype.GcArray(lltype.Signed)))
     descr = cpu.arraydescrof(A)
-    assert descr.v[2]
+    assert descr.flag2
 
 def test_varsized_struct_size():
     S1 = lltype.GcStruct('S1', ('parent', S),



More information about the Pypy-commit mailing list