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

fijal at codespeak.net fijal at codespeak.net
Sun Jul 22 19:28:36 CEST 2007


Author: fijal
Date: Sun Jul 22 19:28:36 2007
New Revision: 45253

Modified:
   pypy/dist/pypy/translator/js/test/test_bltn.py
Log:
Fix the test


Modified: pypy/dist/pypy/translator/js/test/test_bltn.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/test_bltn.py	(original)
+++ pypy/dist/pypy/translator/js/test/test_bltn.py	Sun Jul 22 19:28:36 2007
@@ -28,7 +28,7 @@
     
 class SomeNode(BasicExternal):
     _fields = {
-        'some_callback' : genericcallable([int], int),
+        'some_callback' : genericcallable([int], str),
     }
 
 SomeProxyInstance = SomeProxy()
@@ -51,7 +51,7 @@
 # next will try out the callback
 def test_callback():
     def callback(a):
-        return a
+        return str(a)
     
     def callback_stuff():
         SomeNodeInstance.some_callback = callback



More information about the Pypy-commit mailing list