[pypy-svn] r65448 - pypy/branch/tagged-pointers-framework/pypy/translator/c/test

cfbolz at codespeak.net cfbolz at codespeak.net
Wed May 27 14:18:40 CEST 2009


Author: cfbolz
Date: Wed May 27 14:18:39 2009
New Revision: 65448

Modified:
   pypy/branch/tagged-pointers-framework/pypy/translator/c/test/test_rtagged.py
Log:
fix another test


Modified: pypy/branch/tagged-pointers-framework/pypy/translator/c/test/test_rtagged.py
==============================================================================
--- pypy/branch/tagged-pointers-framework/pypy/translator/c/test/test_rtagged.py	(original)
+++ pypy/branch/tagged-pointers-framework/pypy/translator/c/test/test_rtagged.py	Wed May 27 14:18:39 2009
@@ -38,7 +38,7 @@
 
 def entry_point(argv):
     n = 100 + len(argv)
-    assert C(n).getvalue() == n
+    assert C(n).get_untagged_value() == n
 
     x = makeint(42)
     assert isinstance(x, C)
@@ -67,7 +67,7 @@
 from pypy import conftest
 
 def test_tagged_boehm():
-    t = Translation(entry_point, standalone=True, gc='boehm')
+    t = Translation(entry_point, standalone=True, gc='boehm', taggedpointers=True)
     try:
         exename = str(t.compile_c())
     finally:



More information about the Pypy-commit mailing list