[pypy-svn] r55647 - pypy/dist/pypy/lib/test2

antocuni at codespeak.net antocuni at codespeak.net
Sat Jun 7 12:04:01 CEST 2008


Author: antocuni
Date: Sat Jun  7 12:04:01 2008
New Revision: 55647

Modified:
   pypy/dist/pypy/lib/test2/test_itertools.py
Log:
bad anto, this test was completely buggy



Modified: pypy/dist/pypy/lib/test2/test_itertools.py
==============================================================================
--- pypy/dist/pypy/lib/test2/test_itertools.py	(original)
+++ pypy/dist/pypy/lib/test2/test_itertools.py	Sat Jun  7 12:04:01 2008
@@ -5,7 +5,7 @@
         cls.space = gettestobjspace()
         cls.w_itertools = cls.space.appexec([], "(): import itertools; return itertools")
 
-    def test_chain():
-        it = itertools.chain([], [1, 2, 3])
+    def test_chain(self):
+        it = self.itertools.chain([], [1, 2, 3])
         lst = list(it)
         assert lst == [1, 2, 3]



More information about the Pypy-commit mailing list