From 2d6194b9a7a709c80308b76ad016accaca5b277a Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 11 Feb 2024 00:51:05 +0300 Subject: [PATCH] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (cherry picked from commit b70a68fbd6b72a25b5ef430603e39c9e40f40d29) Co-authored-by: Nikita Sobolev --- Lib/test/test_property.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index 953431504a7247..c7686a67cf52fb 100644 --- a/Lib/test/test_property.py +++ b/Lib/test/test_property.py @@ -242,6 +242,7 @@ class PropertySubSlots(property): class PropertySubclassTests(unittest.TestCase): + @support.requires_docstrings def test_slots_docstring_copy_exception(self): try: class Foo(object):