[pypy-svn] r21563 - pypy/dist/pypy/objspace/test

arigo at codespeak.net arigo at codespeak.net
Sun Dec 25 18:12:27 CET 2005


Author: arigo
Date: Sun Dec 25 18:12:25 2005
New Revision: 21563

Modified:
   pypy/dist/pypy/objspace/test/test_descroperation.py
Log:
A few more tests.  No problem in PyPy, but they crash CPython hilarilously
(or scarily, if you prefer).


Modified: pypy/dist/pypy/objspace/test/test_descroperation.py
==============================================================================
--- pypy/dist/pypy/objspace/test/test_descroperation.py	(original)
+++ pypy/dist/pypy/objspace/test/test_descroperation.py	Sun Dec 25 18:12:25 2005
@@ -231,13 +231,17 @@
                 check(expr, a, b)
                 check(expr, b, a)
                 check(expr, b, b)
+                check(expr, a, 5)
+                check(expr, 5, b)
                 if iexpr:
                     check(iexpr, a, a)
                     check(iexpr, a, b)
                     check(iexpr, b, a)
                     check(iexpr, b, b)
+                    check(iexpr, a, 5)
                     iname = '__i' + name[2:]
                     C = metaclass('C', (), {iname: specialmethod})
                     c = C()
                     check(iexpr, c, a)
                     check(iexpr, c, b)
+                    check(iexpr, c, 5)



More information about the Pypy-commit mailing list