|
1 | | -# -*- coding: iso-8859-1 -*- |
| 1 | +# -*- coding: utf-8 -*- |
2 | 2 | # Copyright (C) 2001,2002 Python Software Foundation |
3 | 3 | # csv package unit tests |
4 | 4 |
|
@@ -974,16 +974,16 @@ def test_write(self): |
974 | 974 | ## class TestUnicode(unittest.TestCase): |
975 | 975 | ## def test_unicode_read(self): |
976 | 976 | ## import codecs |
977 | | -## f = codecs.EncodedFile(StringIO("Martin von Löwis," |
978 | | -## "Marc André Lemburg," |
| 977 | +## f = codecs.EncodedFile(StringIO("Martin von Löwis," |
| 978 | +## "Marc André Lemburg," |
979 | 979 | ## "Guido van Rossum," |
980 | | -## "François Pinard\r\n"), |
| 980 | +## "François Pinard\r\n"), |
981 | 981 | ## data_encoding='iso-8859-1') |
982 | 982 | ## reader = csv.reader(f) |
983 | | -## self.assertEqual(list(reader), [[u"Martin von Löwis", |
984 | | -## u"Marc André Lemburg", |
985 | | -## u"Guido van Rossum", |
986 | | -## u"François Pinardn"]]) |
| 983 | +## self.assertEqual(list(reader), [["Martin von Löwis", |
| 984 | +## "Marc André Lemburg", |
| 985 | +## "Guido van Rossum", |
| 986 | +## "François Pinardn"]]) |
987 | 987 |
|
988 | 988 | def test_main(): |
989 | 989 | mod = sys.modules[__name__] |
|
0 commit comments