[pypy-svn] r48414 - pypy/branch/pypy-rpython-unicode/rpython/test
fijal at codespeak.net
fijal at codespeak.net
Thu Nov 8 14:31:36 CET 2007
Author: fijal
Date: Thu Nov 8 14:31:36 2007
New Revision: 48414
Modified:
pypy/branch/pypy-rpython-unicode/rpython/test/test_runicode.py
Log:
This is no longer needed I think
Modified: pypy/branch/pypy-rpython-unicode/rpython/test/test_runicode.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/rpython/test/test_runicode.py (original)
+++ pypy/branch/pypy-rpython-unicode/rpython/test/test_runicode.py Thu Nov 8 14:31:36 2007
@@ -38,8 +38,13 @@
# a copy, because llinterp caches functions
const = unicode
- assert self.ll_to_unicode(self.interpret(f, [1])) == f(1)
+ assert self.ll_to_unicode(self.interpret(f, [1])) == f(1)
+ def test_str_unicode_const(self):
+ def f():
+ return str(u'xxx')
+
+ assert self.ll_to_string
def test_unichar_const(self):
def fn(c):
@@ -109,7 +114,6 @@
class TestLLtype(BaseTestRUnicode, LLRtypeMixin):
EMPTY_STRING_HASH = -1
- ll_to_string = LLRtypeMixin.ll_to_unicode
#class TestOOtype(BaseTestRUnicode, OORtypeMixin):
# pass
More information about the Pypy-commit
mailing list