[pypy-svn] r66259 - pypy/branch/parser-compiler/pypy/interpreter/test

benjamin at codespeak.net benjamin at codespeak.net
Wed Jul 15 23:16:31 CEST 2009


Author: benjamin
Date: Wed Jul 15 23:16:30 2009
New Revision: 66259

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/test/test_syntax.py
Log:
the new (c)python compiler is less strict about this

Modified: pypy/branch/parser-compiler/pypy/interpreter/test/test_syntax.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/test/test_syntax.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/test/test_syntax.py	Wed Jul 15 23:16:30 2009
@@ -155,6 +155,7 @@
 
     def f():
         from a import *
+        x
         def g():
             x
 
@@ -169,23 +170,27 @@
 
     def f():
         from a import *
+        x
         class g:
             x
 
     def f():
         exec "hi"
+        x = 5
         class g:
             def h():
                 x
 
     def f():
         from a import *
+        x = 4
         class g:
             def h():
                 x
 
     def f(x):
         exec "hi"
+        x = 4
         class g:
             x
 
@@ -196,12 +201,14 @@
 
     def f(x):
         exec "hi"
+        x = 5
         class g:
             def h():
                 x
 
     def f(x):
         from a import *
+        x = 5
         class g:
             def h():
                 x



More information about the Pypy-commit mailing list