]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (#115262)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Feb 2024 07:58:51 +0000 (08:58 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 07:58:51 +0000 (10:58 +0300)
(cherry picked from commit b70a68fbd6b72a25b5ef430603e39c9e40f40d29)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_property.py

index 953431504a72479f62d3d332ba5bac6cf58350d8..c7686a67cf52fbc13955672715aaa91189803bf2 100644 (file)
@@ -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):