[pypy-svn] r49648 - pypy/dist/pypy/jit/tl/test

arigo at codespeak.net arigo at codespeak.net
Tue Dec 11 20:33:48 CET 2007


Author: arigo
Date: Tue Dec 11 20:33:47 2007
New Revision: 49648

Modified:
   pypy/dist/pypy/jit/tl/test/test_tl.py
Log:
Fix completely shallow failures.  The cause is that the new wrapping
logic doesn't support default arguments any more.


Modified: pypy/dist/pypy/jit/tl/test/test_tl.py
==============================================================================
--- pypy/dist/pypy/jit/tl/test/test_tl.py	(original)
+++ pypy/dist/pypy/jit/tl/test/test_tl.py	Tue Dec 11 20:33:47 2007
@@ -39,7 +39,7 @@
     def test_tl_translatable(self):
         code = list2bytecode([PUSH,42, PUSH,100, ADD])
         fn = self.getcompiled(self.interp, [str, int, int])
-        assert self.interp(code) == fn(code)
+        assert self.interp(code, 0, 0) == fn(code, 0, 0)
 
     def test_swap(self):
         code = [PUSH,42, PUSH, 84]



More information about the Pypy-commit mailing list