diff options
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 c4b211f..6a20513 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, \ @@ -114,7 +114,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 @@ -126,7 +126,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): |