mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593)
This commit is contained in:
parent
59725f3bad
commit
4901fe274b
62 changed files with 623 additions and 553 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue