[pypy-svn] r75517 - pypy/branch/fast-forward/pypy/interpreter/test

benjamin at codespeak.net benjamin at codespeak.net
Wed Jun 23 05:14:32 CEST 2010


Author: benjamin
Date: Wed Jun 23 05:14:31 2010
New Revision: 75517

Modified:
   pypy/branch/fast-forward/pypy/interpreter/test/test_interpreter.py
Log:
hidden list comp variables are no more

Modified: pypy/branch/fast-forward/pypy/interpreter/test/test_interpreter.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/test/test_interpreter.py	(original)
+++ pypy/branch/fast-forward/pypy/interpreter/test/test_interpreter.py	Wed Jun 23 05:14:31 2010
@@ -212,13 +212,6 @@
             '''
         assert self.codetest(code, 'callme', [1, 2, 3]) == 6
 
-    def test_list_comprehension(self):
-        code = '''
-            def f():
-                return [dir() for i in [1]][0]
-        '''
-        assert self.codetest(code, 'f', [])[0] == '_[1]'
-
     def test_import_statement(self):
         for x in range(10):
             import os



More information about the Pypy-commit mailing list