From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 11 Feb 2024 07:58:51 +0000 (+0100) Subject: [3.11] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (#115262) X-Git-Tag: v3.11.9~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f2a19eb75ff6153b5ceadaa538a45eaa11b3e11;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (#115262) (cherry picked from commit b70a68fbd6b72a25b5ef430603e39c9e40f40d29) Co-authored-by: Nikita Sobolev --- diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py index 953431504a72..c7686a67cf52 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):