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 ........
This commit is contained in:
parent
7f08102bc6
commit
b27ddc72ea
|
@ -1,4 +1,4 @@
|
|||
# regression test for SAX 2.0 -*- coding: iso-8859-1 -*-
|
||||
# regression test for SAX 2.0 -*- coding: utf-8 -*-
|
||||
# $Id$
|
||||
|
||||
from xml.sax import make_parser, ContentHandler, \
|
||||
|
@ -109,7 +109,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
|
||||
|
@ -121,7 +121,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):
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
""" Test script for the Unicode implementation.
|
||||
|
||||
Written by Marc-Andre Lemburg (mal@lemburg.com).
|
||||
|
|
Loading…
Reference in New Issue