https://github.com/python/cpython/commit/f036b357b267876ee3a27521e8042cf936843375
commit: f036b357b267876ee3a27521e8042cf936843375
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-02-11T10:59:37+03:00
summary:

[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 b70a68fbd6b72a25b5ef430603e39c9e40f40d29)

Co-authored-by: Nikita Sobolev <[email protected]>

files:
M Lib/test/test_property.py

diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py
index 45aa9e51c06de0..3b2af50f83617e 100644
--- a/Lib/test/test_property.py
+++ b/Lib/test/test_property.py
@@ -245,6 +245,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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to