Fix py3k support
authorVitja Makarov <vitja.makarov@gmail.com>
Fri, 10 Dec 2010 21:25:07 +0000 (00:25 +0300)
committerVitja Makarov <vitja.makarov@gmail.com>
Fri, 10 Dec 2010 21:25:42 +0000 (00:25 +0300)
tests/run/generators.pyx

index dca2b86a22c004f34350f681dd5a6aafaad73d5f..0abd298deba81783651b84f937d5c63ce592f7ec 100644 (file)
@@ -93,7 +93,7 @@ def test_close():
     >>> x = test_close()
     >>> next(x)
     >>> x.close()
-    >>> x.next()
+    >>> next(x)
     Traceback (most recent call last):
     StopIteration
     """