]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115254: Fix `test_property` with `-00` mode (#115255)
authorNikita Sobolev <mail@sobolevn.me>
Sat, 10 Feb 2024 21:51:05 +0000 (00:51 +0300)
committerGitHub <noreply@github.com>
Sat, 10 Feb 2024 21:51:05 +0000 (00:51 +0300)
Lib/test/test_property.py

index c12c908d2ee32d0974fc9da9b47ba3ae03e3d439..8ace9fd17ab96e7f4157ad1c26dc8c545df9fc3e 100644 (file)
@@ -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.