Skip to content

Commit 63143c9

Browse files
committed
tests: Test for explicit start/end args to str methods for unicode.
1 parent ea2c936 commit 63143c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unicode/unicode_pos.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# str methods with explicit start/end pos
2+
print("Привет".startswith("П"))
3+
print("Привет".startswith("р", 1))
4+
print("абвба".find("а", 1))
5+
print("абвба".find("а", 1, -1))

0 commit comments

Comments
 (0)