From: Nikita Sobolev Date: Sat, 10 Feb 2024 21:51:05 +0000 (+0300) Subject: gh-115254: Fix `test_property` with `-00` mode (#115255) X-Git-Tag: v3.13.0a4~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b70a68fbd6b72a25b5ef430603e39c9e40f40d29;p=thirdparty%2FPython%2Fcpython.git gh-115254: Fix `test_property` with `-00` mode (#115255) --- diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index c12c908d2ee3..8ace9fd17ab9 100644 --- a/Lib/test/test_property.py +++ b/Lib/test/test_property.py @@ -224,6 +224,7 @@ class PropertySubSlots(property): class PropertySubclassTests(unittest.TestCase): + @support.requires_docstrings def test_slots_docstring_copy_exception(self): # A special case error that we preserve despite the GH-98963 behavior # that would otherwise silently ignore this error.