diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-21 16:24:50 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-21 16:24:50 (GMT) |
commit | 4f0efb0522bb8230135e8de4f6eb91f2488ea537 (patch) | |
tree | a636b36c032c73a5da6ba07aa37e9db527db6056 /Lib/test/test_capi.py | |
parent | efde146b0c42f2643f96d00896c99a90d501fb69 (diff) | |
download | cpython-4f0efb0522bb8230135e8de4f6eb91f2488ea537.zip cpython-4f0efb0522bb8230135e8de4f6eb91f2488ea537.tar.gz cpython-4f0efb0522bb8230135e8de4f6eb91f2488ea537.tar.bz2 |
Issue #23571: Fix test_capi
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r-- | Lib/test/test_capi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index ef6e94b..fc48e38 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -184,7 +184,7 @@ class CAPITest(unittest.TestCase): _testcapi.return_null_without_error() """) rc, out, err = assert_python_failure('-c', code) - self.assertIn(b'_Py_CheckFunctionResult: Assertion', err) + self.assertIn(b'_Py_CheckFunctionResult', err) else: with self.assertRaises(SystemError) as cm: _testcapi.return_null_without_error() @@ -203,7 +203,7 @@ class CAPITest(unittest.TestCase): _testcapi.return_result_with_error() """) rc, out, err = assert_python_failure('-c', code) - self.assertIn(b'_Py_CheckFunctionResult: Assertion', err) + self.assertIn(b'_Py_CheckFunctionResult', err) else: with self.assertRaises(SystemError) as cm: _testcapi.return_result_with_error() |