summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-22 17:36:17 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-22 17:36:17 (GMT)
commite4c7ce36a09f8fafda520e460ad02eabd06f3a49 (patch)
tree31389c04f6bbf6b8450400b8ec9ca1efb9dfbeaf /Lib
parenta50ffe5389d5a0f98a35dec1ce1a35b616706199 (diff)
downloadcpython-e4c7ce36a09f8fafda520e460ad02eabd06f3a49.zip
cpython-e4c7ce36a09f8fafda520e460ad02eabd06f3a49.tar.gz
cpython-e4c7ce36a09f8fafda520e460ad02eabd06f3a49.tar.bz2
Merged revisions 77697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions. ........
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_pyexpat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
index 72795be..5ac2a47 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -518,7 +518,7 @@ class MalformedInputText(unittest.TestCase):
parser.Parse(xml, True)
self.fail()
except expat.ExpatError as e:
- self.assertEquals(str(e), 'no element found: line 2, column 1')
+ self.assertEquals(str(e), 'unclosed token: line 2, column 0')
def test2(self):
xml = "<?xml version\xc2\x85='1.0'?>\r\n"