diff options
Diffstat (limited to 'tests/basics/string-repr.py')
-rw-r--r-- | tests/basics/string-repr.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/basics/string-repr.py b/tests/basics/string-repr.py index 34da483a57..2a3ef2527c 100644 --- a/tests/basics/string-repr.py +++ b/tests/basics/string-repr.py @@ -1,3 +1,4 @@ # anything above 0xa0 is printed as Unicode by CPython -for c in range(0xa1): +# the abobe is CPython implementation detail, stick to ASCII +for c in range(0x80): print("0x%02x: %s" % (c, repr(chr(c)))) |