diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index c7435578974..1ff14e7bc56 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -645,6 +645,7 @@ class CAPITest(unittest.TestCase): with self.assertRaises(SystemError): _testcapi.create_type_from_repeated_slots(variant) + @warnings_helper.ignore_warnings(category=DeprecationWarning) def test_immutable_type_with_mutable_base(self): # Add deprecation warning here so it's removed in 3.14 warnings._deprecated(