Author: Mike Blume <[email protected]>
Branch: py3k
Changeset: r53327:024ec5d326f0
Date: 2012-03-12 11:32 -0700
http://bitbucket.org/pypy/pypy/changeset/024ec5d326f0/

Log:    fix failing test -- __next__ is the new next

diff --git a/pypy/module/_collections/test/test_deque.py 
b/pypy/module/_collections/test/test_deque.py
--- a/pypy/module/_collections/test/test_deque.py
+++ b/pypy/module/_collections/test/test_deque.py
@@ -65,17 +65,17 @@
         d = deque('abcdefg')
         it = iter(d)
         d.pop()
-        raises(RuntimeError, it.next)
+        raises(RuntimeError, it.__next__)
         #
         d = deque('abcdefg')
         it = iter(d)
         d.append(d.pop())
-        raises(RuntimeError, it.next)
+        raises(RuntimeError, it.__next__)
         #
         d = deque()
         it = iter(d)
         d.append(10)
-        raises(RuntimeError, it.next)
+        raises(RuntimeError, it.__next__)
 
     def test_count(self):
         from _collections import deque
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to