Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_string.py @ 10975:2ec04ff2b9b7 legacy-trunk
Two extra startswith tests
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Fri, 11 Jun 1999 17:51:13 +0000 |
| parents | 51969fd73c4a |
| children | 17ec0902eafa |
line wrap: on
line diff
--- a/Lib/test/test_string.py Fri Jun 11 17:48:07 1999 +0000 +++ b/Lib/test/test_string.py Fri Jun 11 17:51:13 1999 +0000 @@ -103,6 +103,9 @@ test('startswith', 'hello', 0, 'o', 5) test('startswith', 'hello', 1, '', 5) test('startswith', 'hello', 0, 'lo', 6) +test('startswith', 'helloworld', 1, 'lowo', 3) +test('startswith', 'helloworld', 1, 'lowo', 3, 7) +test('startswith', 'helloworld', 0, 'lowo', 3, 6) test('endswith', 'hello', 1, 'lo') test('endswith', 'hello', 0, 'he')
