make file closing more robust
[python/dscho.git] / Lib / test / test_doctest4.txt
blob0428e6f9632e164e3a1b3d560712a00e581665c8
1 This is a sample doctest in a text file that contains non-ASCII characters.
2 This file is encoded using UTF-8.
4 In order to get this test to pass, we have to manually specify the
5 encoding.
7   >>> 'föö'
8   'f\xf6\xf6'
10   >>> 'bąr'
11   'b\u0105r'