tests: Add tests for unicode find()/rfind()/index().
This commit is contained in:
parent
5048df0b7c
commit
b1949e4c09
6
tests/unicode/unicode_index.py
Normal file
6
tests/unicode/unicode_index.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
print("Привет".find("т"))
|
||||||
|
print("Привет".find("П"))
|
||||||
|
print("Привет".rfind("т"))
|
||||||
|
print("Привет".rfind("П"))
|
||||||
|
print("Привет".index("т"))
|
||||||
|
print("Привет".index("П"))
|
Loading…
Reference in New Issue
Block a user