8000 [3.12] gh-116780: Fix `test_inspect` in `-OO` mode (GH-116788) (#116799) · python/cpython@2dbc77e · GitHub
[go: up one dir, main page]

Skip to content

Commit 2dbc77e

Browse files
authored
[3.12] gh-116780: Fix test_inspect in -OO mode (GH-116788) (#116799)
1 parent 216b022 commit 2dbc77e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_inspect/test_inspect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4949,6 +4949,7 @@ def func(*args, **kwargs):
49494949
with self.assertRaises(ValueError):
49504950
inspect.signature(func)
49514951

4952+
@support.requires_docstrings
49524953
def test_base_class_have_text_signature(self):
49534954
# see issue 43118
49544955
from test.typinganndata.ann_module7 import BufferedReader

0 commit comments

Comments
 (0)
0