summaryrefslogtreecommitdiffstats
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 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-07-20 07:13:39 (GMT)
commitb1a9f2772ba21f268a8164908714e5a106be50d1 (patch)
treee1f30fbc9c75a7a2d4ed54e3019dd61f6f6aec59 /Lib/test/test_doctest4.txt
parent36e0a92442388647afaaca188c403eee9856a8df (diff)
downloadcpython-b1a9f2772ba21f268a8164908714e5a106be50d1.zip
cpython-b1a9f2772ba21f268a8164908714e5a106be50d1.tar.gz
cpython-b1a9f2772ba21f268a8164908714e5a106be50d1.tar.bz2
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 a219d16..0428e6f 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'