source: trunk/essentials/dev-lang/python/Lib/test/test_doctest4.txt@ 3951

Last change on this file since 3951 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 314 bytes
Line 
1This is a sample doctest in a text file that contains non-ASCII characters.
2This file is encoded using UTF-8.
3
4In order to get this test to pass, we have to manually specify the
5encoding.
6
7 >>> u'föö'
8 u'f\xf6\xf6'
9
10 >>> u'bą
11r'
12 u'b\u0105r'
13
14 >>> 'föö'
15 'f\xc3\xb6\xc3\xb6'
16
17 >>> 'bą
18r'
19 'b\xc4\x85r'
Note: See TracBrowser for help on using the repository browser.