[pypy-svn] r76261 - pypy/trunk/pypy/jit/backend/llsupport/test

getxsick at codespeak.net getxsick at codespeak.net
Fri Jul 16 17:26:49 CEST 2010


Author: getxsick
Date: Fri Jul 16 17:26:47 2010
New Revision: 76261

Modified:
   pypy/trunk/pypy/jit/backend/llsupport/test/test_descr.py
Log:
fix tests


Modified: pypy/trunk/pypy/jit/backend/llsupport/test/test_descr.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/llsupport/test/test_descr.py	(original)
+++ pypy/trunk/pypy/jit/backend/llsupport/test/test_descr.py	Fri Jul 16 17:26:47 2010
@@ -232,11 +232,11 @@
     #
     descr2 = get_field_descr(c0, S, 'y')
     o, _ = symbolic.get_field_token(S, 'y', False)
-    assert descr2.repr_of_descr() == '<GcPtrFieldDescr %d>' % o
+    assert descr2.repr_of_descr() == '<GcPtrFieldDescr S.y %d>' % o
     #
     descr2i = get_field_descr(c0, S, 'x')
     o, _ = symbolic.get_field_token(S, 'x', False)
-    assert descr2i.repr_of_descr() == '<CharFieldDescr %d>' % o
+    assert descr2i.repr_of_descr() == '<CharFieldDescr S.x %d>' % o
     #
     descr3 = get_array_descr(c0, lltype.GcArray(lltype.Ptr(S)))
     assert descr3.repr_of_descr() == '<GcPtrArrayDescr>'



More information about the Pypy-commit mailing list