Fix unicode test

This commit is contained in:
Scott Shawcroft 2021-08-17 18:18:46 -07:00
parent 8017a1ad30
commit fa68428611
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -19,8 +19,7 @@ print(enc, enc.decode() == s)
# printing of unicode chars using repr # printing of unicode chars using repr
# NOTE: for some characters (eg \u10ff) we differ to CPython # NOTE: for some characters (eg \u10ff) we differ to CPython
print(repr("a\uffff")) print(repr("a\u2000"))
print(repr("a\U0001ffff"))
# test invalid escape code # test invalid escape code
try: try: