[3.12] gh-115254: Fix test_property with -00 mode (GH-115255) (#115261)

gh-115254: Fix `test_property` with `-00` mode (GH-115255)
(cherry picked from commit b70a68fbd6)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Miss Islington (bot) 2024-02-11 08:59:37 +01:00 committed by GitHub
parent d19f0674ae
commit f036b357b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -245,6 +245,7 @@ class PropertySubSlots(property):
class PropertySubclassTests(unittest.TestCase): class PropertySubclassTests(unittest.TestCase):
@support.requires_docstrings
def test_slots_docstring_copy_exception(self): def test_slots_docstring_copy_exception(self):
# A special case error that we preserve despite the GH-98963 behavior # A special case error that we preserve despite the GH-98963 behavior
# that would otherwise silently ignore this error. # that would otherwise silently ignore this error.