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

arigo at codespeak.net arigo at codespeak.net
Sun Dec 25 18:03:11 CET 2005


Author: arigo
Date: Sun Dec 25 18:03:09 2005
New Revision: 21562

Modified:
   pypy/dist/pypy/objspace/test/test_descroperation.py
Log:
Oups, typo (not testing the in-place operators correctly).


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:03:09 2005
@@ -232,8 +232,12 @@
                 check(expr, b, a)
                 check(expr, b, b)
                 if iexpr:
+                    check(iexpr, a, a)
+                    check(iexpr, a, b)
+                    check(iexpr, b, a)
+                    check(iexpr, b, b)
                     iname = '__i' + name[2:]
                     C = metaclass('C', (), {iname: specialmethod})
                     c = C()
-                    check(expr, c, a)
-                    check(expr, c, b)
+                    check(iexpr, c, a)
+                    check(iexpr, c, b)



More information about the Pypy-commit mailing list