[pypy-svn] r15886 - pypy/dist/pypy/interpreter/pyparser/test

pedronis at codespeak.net pedronis at codespeak.net
Wed Aug 10 02:36:35 CEST 2005


Author: pedronis
Date: Wed Aug 10 02:36:34 2005
New Revision: 15886

Modified:
   pypy/dist/pypy/interpreter/pyparser/test/test_samples.py
Log:
the new hack is always required



Modified: pypy/dist/pypy/interpreter/pyparser/test/test_samples.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/test/test_samples.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/test/test_samples.py	Wed Aug 10 02:36:34 2005
@@ -107,13 +107,13 @@
         repr_pypy   = repr_pypy.replace("Function(None, ", "Function(")
         repr_python = repr_python.replace("Function(None, ", "Function(")
         # XXX hack(bis):
-        #   we changed stablecompiler to use [] instead of () in several
-        #   places (for consistency), so let's make sure the test won't fail
-        #   because of that (the workaround is as drastic as the way we
-        #   compare python and pypy tuples :-), but we'll change that with
-        #   astbuilder.py
-        repr_pypy = repr_pypy.replace("[]", "()")
-        repr_python = repr_python.replace("[]", "()")
+    #   we changed stablecompiler to use [] instead of () in several
+    #   places (for consistency), so let's make sure the test won't fail
+    #   because of that (the workaround is as drastic as the way we
+    #   compare python and pypy tuples :-), but we'll change that with
+    #   astbuilder.py
+    repr_pypy = repr_pypy.replace("[]", "()")
+    repr_python = repr_python.replace("[]", "()")
     assert repr_pypy == repr_python
 
 



More information about the Pypy-commit mailing list