diff options
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 6a8685c069..96666d1d16 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 |