diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:30:53 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-28 10:30:53 +0100 |
commit | b1b840554d27659f760304713c98f5c7f2d7f74b (patch) | |
tree | c112d08faa88043084f4d4d19094127b31d4e2c2 /tests/unicode/unicode_index.py | |
parent | 8993fb6cf0677ce980ab56cbad326e4e6bc47811 (diff) | |
parent | 635b60e299509a85722db77c4409c78ca86dbdc7 (diff) | |
download | micropython-b1b840554d27659f760304713c98f5c7f2d7f74b.tar.gz micropython-b1b840554d27659f760304713c98f5c7f2d7f74b.zip |
Merge branch 'unicode'
Diffstat (limited to 'tests/unicode/unicode_index.py')
-rw-r--r-- | tests/unicode/unicode_index.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unicode/unicode_index.py b/tests/unicode/unicode_index.py new file mode 100644 index 0000000000..3c31468a41 --- /dev/null +++ b/tests/unicode/unicode_index.py @@ -0,0 +1,6 @@ +print("Привет".find("т")) +print("Привет".find("П")) +print("Привет".rfind("т")) +print("Привет".rfind("П")) +print("Привет".index("т")) +print("Привет".index("П")) |