[pypy-svn] r66505 - pypy/branch/parser-compiler/lib-python/modified-2.5.2/test

benjamin at codespeak.net benjamin at codespeak.net
Wed Jul 22 18:50:04 CEST 2009


Author: benjamin
Date: Wed Jul 22 18:50:03 2009
New Revision: 66505

Modified:
   pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_trace.py
Log:
we now follow cpython in noting the 'pass' as a line

Modified: pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_trace.py
==============================================================================
--- pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_trace.py	(original)
+++ pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_trace.py	Wed Jul 22 18:50:03 2009
@@ -336,10 +336,11 @@
             for_example,
             [(0, 'call'),
              (1, 'line'),
-             (1, 'line'),
+             (2, 'line'),
              (1, 'line'),
              (2, 'line'),
-             (2, 'return')])
+             (1, 'line'),
+             (1, 'return')])
 
         def while_example():
             # While expression should be traced on every loop



More information about the Pypy-commit mailing list