summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-02-07 23:06:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-02-07 23:06:11 (GMT)
commitc4b813d05dbf8b1bc1ab3c27198b397152deb4a3 (patch)
tree8411861dabd76cbbd1890225dc642d61641270c6 /Lib
parentd5db14794bdeb4646ede5881aed43dd1838ffe7a (diff)
downloadcpython-c4b813d05dbf8b1bc1ab3c27198b397152deb4a3.zip
cpython-c4b813d05dbf8b1bc1ab3c27198b397152deb4a3.tar.gz
cpython-c4b813d05dbf8b1bc1ab3c27198b397152deb4a3.tar.bz2
Issue #26198: Fixed error messages for some argument parsing errors.
Fixed the documented about buffer overflow error for "es#" and "et#" format units.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_capi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 6a8685c..96666d1 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -489,7 +489,7 @@ class SkipitemTest(unittest.TestCase):
format.encode("ascii"), keywords)
when_not_skipped = False
except TypeError as e:
- s = "argument 1 must be impossible<bad format char>, not int"
+ s = "argument 1 (impossible<bad format char>)"
when_not_skipped = (str(e) == s)
except RuntimeError as e:
when_not_skipped = False