File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -991,7 +991,11 @@ def test_class_decorator(self):
991991 self .assertSourceEqual (mod2 .cls196 , 194 , 201 )
992992 self .assertSourceEqual (mod2 .cls196 .cls200 , 198 , 201 )
993993
994+ @support .requires_docstrings
994995 def test_class_inside_conditional (self ):
996+ # We skip this test when docstrings are not present,
997+ # because docstrings are one of the main factors of
998+ # finding the correct class in the source code.
995999 self .assertSourceEqual (mod2 .cls238 .cls239 , 239 , 240 )
9961000
9971001 def test_multiple_children_classes (self ):
@@ -5284,6 +5288,7 @@ def func(*args, **kwargs):
52845288 with self .assertRaises (ValueError ):
52855289 inspect .signature (func )
52865290
5291+ @support .requires_docstrings
52875292 def test_base_class_have_text_signature (self ):
52885293 # see issue 43118
52895294 from test .typinganndata .ann_module7 import BufferedReader
You can’t perform that action at this time.
0 commit comments