diff options
author | Damien George <damien.p.george@gmail.com> | 2016-10-17 11:43:47 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-10-17 11:43:47 +1100 |
commit | e9404e5f5f058db954ac0a92cb5acfcef6f6724a (patch) | |
tree | 6d5ced599e860604aea660de5fb5be1199d29963 /tests/unicode/unicode.py | |
parent | 453c2e8f55132d92933f2de0308166730576ecc4 (diff) | |
download | micropython-e9404e5f5f058db954ac0a92cb5acfcef6f6724a.tar.gz micropython-e9404e5f5f058db954ac0a92cb5acfcef6f6724a.zip |
tests: Improve coverage of array, range, dict, slice, exc, unicode.
Diffstat (limited to 'tests/unicode/unicode.py')
-rw-r--r-- | tests/unicode/unicode.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unicode/unicode.py b/tests/unicode/unicode.py index b31f064e9c..5f29bc1c95 100644 --- a/tests/unicode/unicode.py +++ b/tests/unicode/unicode.py @@ -18,8 +18,9 @@ enc = s.encode() print(enc, enc.decode() == s) # printing of unicode chars using repr -# TODO we don't do this correctly -#print(repr(s)) +# NOTE: for some characters (eg \u10ff) we differ to CPython +print(repr('a\uffff')) +print(repr('a\U0001ffff')) # test invalid escape code try: |