diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-02-07 23:20:21 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-02-07 23:20:21 (GMT) |
| commit | 3e17c788a877ad65a48ad357cf3947934e036075 (patch) | |
| tree | 2f6168095e553ec957f168c905ec659d22971bcb /Lib/test/test_capi.py | |
| parent | 503f908090bd22df70ed21e3bb3c2513a1eee969 (diff) | |
| parent | c4b813d05dbf8b1bc1ab3c27198b397152deb4a3 (diff) | |
| download | cpython-3e17c788a877ad65a48ad357cf3947934e036075.zip cpython-3e17c788a877ad65a48ad357cf3947934e036075.tar.gz cpython-3e17c788a877ad65a48ad357cf3947934e036075.tar.bz2 | |
Issue #26198: Fixed error messages for some argument parsing errors.
Diffstat (limited to 'Lib/test/test_capi.py')
| -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 |
