tests: Add tests for unicode find()/rfind()/index().
This commit is contained in:
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("П"))
|
||||||
Reference in New Issue
Block a user