diff options
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 b31f064e9..5f29bc1c9 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: |