[pypy-svn] r39744 - pypy/branch/rope-branch/pypy/objspace/std/test
arigo at codespeak.net
arigo at codespeak.net
Fri Mar 2 19:20:50 CET 2007
Author: arigo
Date: Fri Mar 2 19:20:48 2007
New Revision: 39744
Modified:
pypy/branch/rope-branch/pypy/objspace/std/test/test_ropeobject.py
Log:
Split bug. Fails yet, but checking it in is ok because it's a branch
(according to cfbolz).
Modified: pypy/branch/rope-branch/pypy/objspace/std/test/test_ropeobject.py
==============================================================================
--- pypy/branch/rope-branch/pypy/objspace/std/test/test_ropeobject.py (original)
+++ pypy/branch/rope-branch/pypy/objspace/std/test/test_ropeobject.py Fri Mar 2 19:20:48 2007
@@ -12,6 +12,13 @@
import sys
raises(OverflowError, '"abcdefg" * (sys.maxint // 2)')
+ def test_split_bug(self):
+ s = '/home/arigo/svn/pypy/branch/rope-branch/pypy/bin'
+ s += '/pypy'
+ lst = s.split('/')
+ assert lst == ['', 'home', 'arigo', 'svn', 'pypy',
+ 'branch', 'rope-branch', 'pypy', 'bin', 'pypy']
+
class AppTestRopeUnicode(object):
def setup_class(cls):
More information about the Pypy-commit
mailing list