diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-27 18:54:06 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-27 18:54:06 (GMT) |
commit | 43ffd5c01364748fbb8f8113195f32863c833a19 (patch) | |
tree | 05898c020c58df163326e0bbc35ef45afd686807 /Lib/test/test_sax.py | |
parent | 0619ae798d548109180178eda0ec406d725f7d9e (diff) | |
download | cpython-43ffd5c01364748fbb8f8113195f32863c833a19.zip cpython-43ffd5c01364748fbb8f8113195f32863c833a19.tar.gz cpython-43ffd5c01364748fbb8f8113195f32863c833a19.tar.bz2 |
Merged revisions 85861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85861 | antoine.pitrou | 2010-10-27 20:52:48 +0200 (mer., 27 oct. 2010) | 3 lines
Recode modules from latin-1 to utf-8
........
Diffstat (limited to 'Lib/test/test_sax.py')
-rw-r--r-- | Lib/test/test_sax.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py index ab54ed5..c8c7b3a 100644 --- a/Lib/test/test_sax.py +++ b/Lib/test/test_sax.py @@ -1,4 +1,4 @@ -# regression test for SAX 2.0 -*- coding: iso-8859-1 -*- +# regression test for SAX 2.0 # $Id$ from xml.sax import make_parser, ContentHandler, \ @@ -107,7 +107,7 @@ class SaxutilsTest(unittest.TestCase): "<Donald Duck & Co>") def test_escape_extra(self): - self.assertEquals(escape("Hei på deg", {"å" : "å"}), + self.assertEquals(escape("Hei pÃ¥ deg", {"Ã¥" : "å"}), "Hei på deg") # ===== unescape @@ -119,7 +119,7 @@ class SaxutilsTest(unittest.TestCase): "<Donald Duck & Co>") def test_unescape_extra(self): - self.assertEquals(unescape("Hei på deg", {"å" : "å"}), + self.assertEquals(unescape("Hei pÃ¥ deg", {"Ã¥" : "å"}), "Hei på deg") def test_unescape_amp_extra(self): |