[pypy-svn] r26305 - pypy/dist/pypy/translator/cl/test
sanxiyn at codespeak.net
sanxiyn at codespeak.net
Tue Apr 25 10:15:54 CEST 2006
Author: sanxiyn
Date: Tue Apr 25 10:15:48 2006
New Revision: 26305
Modified:
pypy/dist/pypy/translator/cl/test/test_cltrans.py
Log:
Returning string doesn't work in ootypesystem. Add a disabled test to
remind this.
Modified: pypy/dist/pypy/translator/cl/test/test_cltrans.py
==============================================================================
--- pypy/dist/pypy/translator/cl/test/test_cltrans.py (original)
+++ pypy/dist/pypy/translator/cl/test/test_cltrans.py Tue Apr 25 10:15:48 2006
@@ -8,6 +8,12 @@
from pypy.translator.test import snippet as t
+def dont_test_return_str():
+ def return_str():
+ return 'test'
+ cl_return_str = make_cl_func(return_str)
+ assert cl_return_str() == 'test'
+
def test_if():
py.test.skip("temporarily disabled")
cl_if = make_cl_func(t.if_then_else, [object, object, object])
More information about the Pypy-commit
mailing list