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

arigo at codespeak.net arigo at codespeak.net
Thu Dec 15 13:38:30 CET 2005


Author: arigo
Date: Thu Dec 15 13:38:29 2005
New Revision: 21170

Modified:
   pypy/dist/pypy/rpython/test/test_objectmodel.py
Log:
Some more cast_object_to_int-can-return-a-negative-value.


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 Dec 15 13:38:29 2005
@@ -38,7 +38,8 @@
         i = cast_object_to_int(a)
         return cast_object_to_int(cast_int_to_object(i, A)) == i
     res = interpret(f, [])
-    assert res > 0
+    # cannot really check anything about 'res' here
+
     # XXX humpf: there is no sane way to implement cast_ptr_to_int
     # without going for the same hacks as in robjectmodel.cast_XXX_to_XXX
     py.test.raises(AssertionError, interpret, g, [])



More information about the Pypy-commit mailing list