[pypy-commit] pypy py3k: One more fix for test_compiler

amauryfa noreply at buildbot.pypy.org
Sun Jan 22 12:10:00 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r51638:e27203d55679
Date: 2012-01-21 22:39 +0100
http://bitbucket.org/pypy/pypy/changeset/e27203d55679/

Log:	One more fix for test_compiler

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -588,7 +588,7 @@
         w_iterable = self.popvalue()
         items = self.space.fixedview(w_iterable)
         itemcount = len(items)
-        if right < itemcount:
+        if right > itemcount:
             count = left + right
             if count == 1:
                 plural = ''


More information about the pypy-commit mailing list