Skip to content

Commit b1949e4

Browse files
committed
tests: Add tests for unicode find()/rfind()/index().
1 parent 5048df0 commit b1949e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/unicode/unicode_index.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
print("Привет".find("т"))
2+
print("Привет".find("П"))
3+
print("Привет".rfind("т"))
4+
print("Привет".rfind("П"))
5+
print("Привет".index("т"))
6+
print("Привет".index("П"))

0 commit comments

Comments
 (0)