summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string-repr.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/string-repr.py')
-rw-r--r--tests/basics/string-repr.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/string-repr.py b/tests/basics/string-repr.py
new file mode 100644
index 0000000000..ba8dbe6d1c
--- /dev/null
+++ b/tests/basics/string-repr.py
@@ -0,0 +1,3 @@
+# anything above 0xa0 is printed as Unicode by CPython3.3
+for c in range(0xa1):
+ print("0x%02x: %s" % (c, repr(chr(c))))