summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2024-03-17 10:33:38 (GMT)
committerGitHub <noreply@github.com>2024-03-17 10:33:38 (GMT)
commit2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3 (patch)
treef8a7510e89f386863c1afb01011db2c376e08443 /Lib
parent216b0229227b4b0cf3ca9871b0e3d137d559b5ab (diff)
downloadcpython-2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3.zip
cpython-2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3.tar.gz
cpython-2dbc77e1ece7ba5d192f9b83f84ca7f4fb9a74a3.tar.bz2
[3.12] gh-116780: Fix `test_inspect` in `-OO` mode (GH-116788) (#116799)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_inspect/test_inspect.py1
1 files changed, 1 insertions, 0 deletions
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