aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_capi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_capi.py')
-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 3c8c3f02bf7..7c68b2c0fc2 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -330,7 +330,7 @@ class CAPITest(unittest.TestCase):
rc, out, err = assert_python_failure('-c', code)
self.assertRegex(err,
br'_testcapimodule\.c:[0-9]+: '
- br'_Py_NegativeRefcount: Assertion ".*" failed; '
+ br'_Py_NegativeRefcount: Assertion failed: '
br'object has negative ref count')