https://github.com/python/cpython/commit/2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3
commit: 2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3
branch: 3.12
author: Nikita Sobolev <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-03-17T13:33:38+03:00
summary:
[3.12] gh-116780: Fix `test_inspect` in `-OO` mode (GH-116788) (#116799)
files:
M Lib/test/test_inspect/test_inspect.py
diff --git a/Lib/test/test_inspect/test_inspect.py
b/Lib/test/test_inspect/test_inspect.py
index 8a69dd211bc2ca..7afac1bb0f6bfb 100644
--- a/Lib/test/test_inspect/test_inspect.py
+++ b/Lib/test/test_inspect/test_inspect.py
@@ -4949,6 +4949,7 @@ def func(*args, **kwargs):
with self.assertRaises(ValueError):
inspect.signature(func)
+ @support.requires_docstrings
def test_base_class_have_text_signature(self):
# see issue 43118
from test.typinganndata.ann_module7 import BufferedReader
_______________________________________________
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]