summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyexpat.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-24 22:31:12 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-24 22:31:12 (GMT)
commit3c9e6e9375954e9911ceddb65a98c3e58986e9a7 (patch)
treeda76f158bbbd6c812131d596c201714161ad9627 /Lib/test/test_pyexpat.py
parent4aae1ebab2cab2a4df1ed89b9454f3c88642530e (diff)
downloadcpython-3c9e6e9375954e9911ceddb65a98c3e58986e9a7.zip
cpython-3c9e6e9375954e9911ceddb65a98c3e58986e9a7.tar.gz
cpython-3c9e6e9375954e9911ceddb65a98c3e58986e9a7.tar.bz2
PyArg_Parse*() functions: factorize code for s/z and u/Z formats
Diffstat (limited to 'Lib/test/test_pyexpat.py')
-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 00d92f9..3898348 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -184,7 +184,7 @@ class NamespaceSeparatorTest(unittest.TestCase):
self.fail()
except TypeError as e:
self.assertEquals(str(e),
- 'ParserCreate() argument 2 must be string or None, not int')
+ 'ParserCreate() argument 2 must be str or None, not int')
try:
expat.ParserCreate(namespace_separator='too long')