[pypy-svn] r26552 - pypy/dist/pypy/rpython/ootypesystem/test

nik at codespeak.net nik at codespeak.net
Sat Apr 29 06:18:08 CEST 2006


Author: nik
Date: Sat Apr 29 06:18:04 2006
New Revision: 26552

Added:
   pypy/dist/pypy/rpython/ootypesystem/test/test_oostring.py   (contents, props changed)
Log:
actually add the test file that was supposed to go with the last commit ...


Added: pypy/dist/pypy/rpython/ootypesystem/test/test_oostring.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/rpython/ootypesystem/test/test_oostring.py	Sat Apr 29 06:18:04 2006
@@ -0,0 +1,8 @@
+from pypy.rpython.test.test_llinterp import interpret 
+
+def test_constant_string():
+    def f():
+        return "foo"
+    res = interpret(f, [], type_system="ootype")
+    assert res == "foo"
+



More information about the Pypy-commit mailing list