[pypy-svn] r34107 - pypy/dist/pypy/rpython/test
antocuni at codespeak.net
antocuni at codespeak.net
Fri Nov 3 15:13:43 CET 2006
Author: antocuni
Date: Fri Nov 3 15:13:42 2006
New Revision: 34107
Modified:
pypy/dist/pypy/rpython/test/test_rstr.py
Log:
(antocuni, cfbolz, arigo around)
this test is not supposed to pass, there is a slight difference
between python and rpython semantics.
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 15:13:42 2006
@@ -378,12 +378,6 @@
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):
return "before %s after" % (s,)
More information about the Pypy-commit
mailing list