tests: Improve coverage of array, range, dict, slice, exc, unicode.

This commit is contained in:
Damien George
2016-10-17 11:43:47 +11:00
parent 453c2e8f55
commit e9404e5f5f
9 changed files with 87 additions and 2 deletions

View File

@@ -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: