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