[pypy-svn] r64214 - pypy/trunk/pypy/interpreter/test

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Apr 17 10:07:19 CEST 2009


Author: cfbolz
Date: Fri Apr 17 10:07:18 2009
New Revision: 64214

Modified:
   pypy/trunk/pypy/interpreter/test/test_pyframe.py
Log:
make the test run on python2.4


Modified: pypy/trunk/pypy/interpreter/test/test_pyframe.py
==============================================================================
--- pypy/trunk/pypy/interpreter/test/test_pyframe.py	(original)
+++ pypy/trunk/pypy/interpreter/test/test_pyframe.py	Fri Apr 17 10:07:18 2009
@@ -263,6 +263,8 @@
                 l.append(arg)
             return trace
 
+        d = {}
+        exec """if 1:
         def g():
             try:
                 yield True
@@ -276,6 +278,8 @@
                 gen.close()
             except:
                 pass
+        """ in d
+        f = d['f']
 
         sys.settrace(trace)
         f()



More information about the Pypy-commit mailing list