summaryrefslogtreecommitdiff
path: root/Lib/test/test_pyexpat.py
diff options
context:
space:
mode:
authorRémi Lapeyre <remi.lapeyre@henki.fr>2019-08-29 16:49:08 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2019-08-29 17:49:08 +0300
commit4901fe274bc82b95dc89bcb3de8802a3dfedab32 (patch)
tree2e6e4d0b1cdcb499df7f049ebc9dbbdb9f392bbe /Lib/test/test_pyexpat.py
parent59725f3badb3028636c8906ecac4ceb0a37f3982 (diff)
downloadcpython-git-4901fe274bc82b95dc89bcb3de8802a3dfedab32.tar.gz
bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593)
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 082d85a3d2..a0ba59008e 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -286,7 +286,7 @@ class NamespaceSeparatorTest(unittest.TestCase):
self.fail()
except TypeError as e:
self.assertEqual(str(e),
- 'ParserCreate() argument 2 must be str or None, not int')
+ "ParserCreate() argument 'namespace_separator' must be str or None, not int")
try:
expat.ParserCreate(namespace_separator='too long')