diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-12-28 16:33:58 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-12-28 16:33:58 (GMT) |
commit | 22d9ee7e177bb0fcb514e898daaec98907ebde0c (patch) | |
tree | 054e2d5107f7c9a230c723ac130e32b5e1ed0602 /Lib/test/bad_coding3.py | |
parent | 63cc99d9a6cf4751bd75b6bc32416fdb3a98440b (diff) | |
download | cpython-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.py | 2 |
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 |