summaryrefslogtreecommitdiff
path: root/Lib/test/test_doctest4.txt
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-07-20 07:13:39 +0000
committerMartin v. Löwis <martin@v.loewis.de>2007-07-20 07:13:39 +0000
commit2974d03cd43784ee04a1db02fafb69b845047873 (patch)
treee333674631a1574f57b19a233f58f16e684b342c /Lib/test/test_doctest4.txt
parentc3f7e2926cdc8293e85b6fdca4338a474e4db986 (diff)
downloadcpython-2974d03cd43784ee04a1db02fafb69b845047873.tar.gz
Fix test_doctest: drop u prefixes; explicitly declare
encoding as latin-1 if we want it to fail.
Diffstat (limited to 'Lib/test/test_doctest4.txt')
-rw-r--r--Lib/test/test_doctest4.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/Lib/test/test_doctest4.txt b/Lib/test/test_doctest4.txt
index a219d16a6e..0428e6f963 100644
--- a/Lib/test/test_doctest4.txt
+++ b/Lib/test/test_doctest4.txt
@@ -4,14 +4,8 @@ This file is encoded using UTF-8.
In order to get this test to pass, we have to manually specify the
encoding.
- >>> u'föö'
- u'f\xf6\xf6'
-
- >>> u'bąr'
- u'b\u0105r'
-
>>> 'föö'
- 'f\xc3\xb6\xc3\xb6'
+ 'f\xf6\xf6'
>>> 'bąr'
- 'b\xc4\x85r'
+ 'b\u0105r'