[pypy-svn] r77564 - pypy/branch/fast-forward/pypy/module/parser/test

afa at codespeak.net afa at codespeak.net
Mon Oct 4 11:40:31 CEST 2010


Author: afa
Date: Mon Oct  4 11:40:29 2010
New Revision: 77564

Modified:
   pypy/branch/fast-forward/pypy/module/parser/test/test_parser.py
Log:
Merge r77558 from trunk


Modified: pypy/branch/fast-forward/pypy/module/parser/test/test_parser.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/parser/test/test_parser.py	(original)
+++ pypy/branch/fast-forward/pypy/module/parser/test/test_parser.py	Mon Oct  4 11:40:29 2010
@@ -10,6 +10,9 @@
         cls.w_m = space.appexec([], """():
     import parser
     return parser""")
+        cls.w_symbol = space.appexec([], """():
+    import symbol
+    return symbol""")
 
 
 class AppTestParser(ParserModuleTest):
@@ -36,7 +39,7 @@
             seq = getattr(s, meth)()
             assert isinstance(seq, tp)
             assert len(seq) == 4
-            assert seq[0] == 286
+            assert seq[0] == self.symbol.file_input
             assert len(seq[2]) == 2
             assert len(seq[3]) == 2
             assert seq[2][0] == 4



More information about the Pypy-commit mailing list