Author: Romain Guillebert <[email protected]>
Branch: py3k
Changeset: r56709:2d068c87d468
Date: 2012-08-11 23:58 +0200
http://bitbucket.org/pypy/pypy/changeset/2d068c87d468/

Log:    Adapt test_proxy_iter.py to Python 3's syntax

diff --git a/pypy/objspace/std/test/test_proxy_iter.py 
b/pypy/objspace/std/test/test_proxy_iter.py
--- a/pypy/objspace/std/test/test_proxy_iter.py
+++ b/pypy/objspace/std/test/test_proxy_iter.py
@@ -13,5 +13,5 @@
         g = self.get_proxy(some([1,2,3]))
         assert list(g) == [1,2,3]
         g = self.get_proxy(some([1,2,3]))
-        assert g.next() == 1
-        assert g.next() == 2
+        assert next(g) == 1
+        assert next(g) == 2
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to