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

cfbolz at codespeak.net cfbolz at codespeak.net
Thu May 18 13:08:41 CEST 2006


Author: cfbolz
Date: Thu May 18 13:08:40 2006
New Revision: 27405

Modified:
   pypy/dist/pypy/rpython/test/test_objectmodel.py
Log:
this function was renamed, fix test


Modified: pypy/dist/pypy/rpython/test/test_objectmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_objectmodel.py	(original)
+++ pypy/dist/pypy/rpython/test/test_objectmodel.py	Thu May 18 13:08:40 2006
@@ -75,9 +75,9 @@
     class B(object):
         pass
     a = A()
-    addr = cast_object_to_address(a)
-    py.test.raises(AssertionError, "cast_address_to_object(addr, B)")
-    assert a is cast_address_to_object(addr, A)
+    addr = cast_object_to_weakgcaddress(a)
+    py.test.raises(AssertionError, "cast_weakgcaddress_to_object(addr, B)")
+    assert a is cast_weakgcaddress_to_object(addr, A)
 
 def test_recursive_r_dict_repr():
     import operator



More information about the Pypy-commit mailing list