[pypy-svn] r21166 - pypy/dist/pypy/translator/c/test

arigo at codespeak.net arigo at codespeak.net
Thu Dec 15 12:14:24 CET 2005


Author: arigo
Date: Thu Dec 15 12:14:23 2005
New Revision: 21166

Modified:
   pypy/dist/pypy/translator/c/test/test_backendoptimized.py
Log:
casting an object to an int doesn't always return a positive number.


Modified: pypy/dist/pypy/translator/c/test/test_backendoptimized.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_backendoptimized.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_backendoptimized.py	Thu Dec 15 12:14:23 2005
@@ -90,7 +90,7 @@
                 objectmodel.cast_int_to_object(i, A)) == i
         fn = self.getcompiled(f)
         res = fn()
-        assert res > 0
+        # cannot really test anything about 'res' here
         gn = self.getcompiled(g)
         res = gn()
         assert res



More information about the Pypy-commit mailing list