From 2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 17 Mar 2024 13:33:38 +0300 Subject: [3.12] gh-116780: Fix `test_inspect` in `-OO` mode (GH-116788) (#116799) --- Lib/test/test_inspect/test_inspect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_inspect/test_inspect.py b/Lib/test/test_inspect/test_inspect.py index 8a69dd2..7afac1b 100644 --- a/Lib/test/test_inspect/test_inspect.py +++ b/Lib/test/test_inspect/test_inspect.py @@ -4949,6 +4949,7 @@ class TestSignatureDefinitions(unittest.TestCase): 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 -- cgit v0.12