summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sax.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-27 18:54:06 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-27 18:54:06 (GMT)
commit43ffd5c01364748fbb8f8113195f32863c833a19 (patch)
tree05898c020c58df163326e0bbc35ef45afd686807 /Lib/test/test_sax.py
parent0619ae798d548109180178eda0ec406d725f7d9e (diff)
downloadcpython-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.py6
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):
"&lt;Donald Duck &amp; Co&gt;")
def test_escape_extra(self):
- self.assertEquals(escape("Hei på deg", {"å" : "&aring;"}),
+ self.assertEquals(escape("Hei på deg", {"å" : "&aring;"}),
"Hei p&aring; deg")
# ===== unescape
@@ -119,7 +119,7 @@ class SaxutilsTest(unittest.TestCase):
"<Donald Duck & Co>")
def test_unescape_extra(self):
- self.assertEquals(unescape("Hei på deg", {"å" : "&aring;"}),
+ self.assertEquals(unescape("Hei på deg", {"å" : "&aring;"}),
"Hei p&aring; deg")
def test_unescape_amp_extra(self):