[pypy-svn] r28850 - pypy/dist/pypy/rpython/test
antocuni at codespeak.net
antocuni at codespeak.net
Fri Jun 16 00:15:40 CEST 2006
Author: antocuni
Date: Fri Jun 16 00:15:29 2006
New Revision: 28850
Modified:
pypy/dist/pypy/rpython/test/test_rstr.py
Log:
Split test_replace into two separate tests.
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 Jun 16 00:15:29 2006
@@ -507,6 +507,8 @@
assert res == 4
res = self.interpret(fn, ['c', 'b'])
assert res == 5
+
+ def test_replace_TyperError(self):
def fn():
s = 'abbccc'
s = s.replace('a', 'baz')
More information about the Pypy-commit
mailing list