tests: Test for explicit start/end args to str methods for unicode.

pull/695/head
Paul Sokolovsky 2014-06-15 00:45:40 +03:00
rodzic ea2c936c7e
commit 63143c94ce
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,5 @@
# str methods with explicit start/end pos
print("Привет".startswith("П"))
print("Привет".startswith("р", 1))
print("абвба".find("а", 1))
print("абвба".find("а", 1, -1))