summaryrefslogtreecommitdiffstats
path: root/Lib/test/bad_coding3.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-12-28 16:33:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-12-28 16:33:58 (GMT)
commit22d9ee7e177bb0fcb514e898daaec98907ebde0c (patch)
tree054e2d5107f7c9a230c723ac130e32b5e1ed0602 /Lib/test/bad_coding3.py
parent63cc99d9a6cf4751bd75b6bc32416fdb3a98440b (diff)
downloadcpython-22d9ee7e177bb0fcb514e898daaec98907ebde0c.zip
cpython-22d9ee7e177bb0fcb514e898daaec98907ebde0c.tar.gz
cpython-22d9ee7e177bb0fcb514e898daaec98907ebde0c.tar.bz2
complain if the codec doesn't return unicode
Diffstat (limited to 'Lib/test/bad_coding3.py')
-rw-r--r--Lib/test/bad_coding3.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/bad_coding3.py b/Lib/test/bad_coding3.py
new file mode 100644
index 0000000..77836d9
--- /dev/null
+++ b/Lib/test/bad_coding3.py
@@ -0,0 +1,2 @@
+# coding: string-escape
+\x70\x72\x69\x6e\x74\x20\x32\x2b\x32\x0a