diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-02-07 23:06:11 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-02-07 23:06:11 (GMT) |
commit | c4b813d05dbf8b1bc1ab3c27198b397152deb4a3 (patch) | |
tree | 8411861dabd76cbbd1890225dc642d61641270c6 /Lib | |
parent | d5db14794bdeb4646ede5881aed43dd1838ffe7a (diff) | |
download | cpython-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.py | 2 |
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 |