summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-22 16:58:28 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-22 16:58:28 (GMT)
commitf8a9402c97a2d57cc161aa3d0c255b6db62e7ce0 (patch)
treec046a8d9e31126b699fa163c806afec05fed9456 /Lib/test
parent86db34207c34570c5ca9bfda62875c0e9fb4c869 (diff)
downloadcpython-f8a9402c97a2d57cc161aa3d0c255b6db62e7ce0.zip
cpython-f8a9402c97a2d57cc161aa3d0c255b6db62e7ce0.tar.gz
cpython-f8a9402c97a2d57cc161aa3d0c255b6db62e7ce0.tar.bz2
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/test')
-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 649d5d2..9ea44d7 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -567,7 +567,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"