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):
991
991
self .assertSourceEqual (mod2 .cls196 , 194 , 201 )
992
992
self .assertSourceEqual (mod2 .cls196 .cls200 , 198 , 201 )
993
993
8000
994
+ @support .requires_docstrings
994
995
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.
995
999
self .assertSourceEqual (mod2 .cls238 .cls239 , 239 , 240 )
996
1000
997
1001
def test_multiple_children_classes (self ):
@@ -5284,6 +5288,7 @@ def func(*args, **kwargs):
5284
5288
with self .assertRaises (ValueError ):
5285
5289
inspect .signature (func )
5286
5290
5291
+ @support .requires_docstrings
5287
5292
def test_base_class_have_text_signature (self ):
5288
5293
# see issue 43118
5289
5294
from test .typinganndata .ann_module7 import BufferedReader
You can’t perform that action at this time.
0 commit comments