[pypy-svn] r35668 - pypy/dist/pypy/translator/js/test

pedronis at codespeak.net pedronis at codespeak.net
Wed Dec 13 13:12:48 CET 2006


Author: pedronis
Date: Wed Dec 13 13:12:45 2006
New Revision: 35668

Modified:
   pypy/dist/pypy/translator/js/test/runtest.py
Log:
XXX about why the failures in test_rpython



Modified: pypy/dist/pypy/translator/js/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/runtest.py	(original)
+++ pypy/dist/pypy/translator/js/test/runtest.py	Wed Dec 13 13:12:45 2006
@@ -141,6 +141,13 @@
         #    self._ann = ann
         #    self._cli_func = compile_function(fn, ann)
         #    return self._cli_func
+
+        # XXX this will capture and use constant values
+        # for some test, for example reused from rpython/test
+        # it may result in annotation failures
+        # because some paths are not considered!
+        # that's what is provoking the failures
+        # in test_rpython
         def f():
             res = fn(*args)
             if isinstance(res, type(None)):



More information about the Pypy-commit mailing list