[pypy-svn] r34104 - pypy/dist/pypy/rpython/test
antocuni at codespeak.net
antocuni at codespeak.net
Fri Nov 3 14:44:31 CET 2006
Author: antocuni
Date: Fri Nov 3 14:44:27 2006
New Revision: 34104
Modified:
pypy/dist/pypy/rpython/test/test_rstr.py
Log:
(antocuni, cfbolz)
failing test
Modified: pypy/dist/pypy/rpython/test/test_rstr.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rstr.py (original)
+++ pypy/dist/pypy/rpython/test/test_rstr.py Fri Nov 3 14:44:27 2006
@@ -378,6 +378,11 @@
res = self.interpret(fn, ())
assert self.ll_to_string(res) == 'hell'
+ def test_str_slice_empty_string(self):
+ def fn():
+ return ''[1:] + 'hello'[6:]
+ res = self.interpret(fn, [])
+ assert self.ll_to_string(res) == ''
def test_strformat(self):
def percentS(s):
More information about the Pypy-commit
mailing list