tests: Test for explicit start/end args to str methods for unicode.
This commit is contained in:
parent
ea2c936c7e
commit
63143c94ce
5
tests/unicode/unicode_pos.py
Normal file
5
tests/unicode/unicode_pos.py
Normal file
@ -0,0 +1,5 @@
|
||||
# str methods with explicit start/end pos
|
||||
print("Привет".startswith("П"))
|
||||
print("Привет".startswith("р", 1))
|
||||
print("абвба".find("а", 1))
|
||||
print("абвба".find("а", 1, -1))
|
Loading…
Reference in New Issue
Block a user