File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -653,9 +653,6 @@ def test_getdoc(self):
653653                         'measured in kilowatts' )
654654        self .assertEqual (inspect .getdoc (SlotUser .distance ),
655655                         'measured in kilometers' )
656-         print ('new test' , file = sys .stderr )
657-         self .assertEqual (inspect .getdoc (mod3 .Parent .foo ),
658-                          inspect .getdoc (mod3 .Child .foo ))
659656
660657    @unittest .skipIf (sys .flags .optimize  >=  2 , 
661658                     "Docstrings are omitted with -O2 and above" ) 
@@ -669,6 +666,10 @@ def test_getdoc_inherited(self):
669666        self .assertEqual (inspect .getdoc (mod .FesteringGob .contradiction ),
670667                         'The automatic gainsaying.' )
671668
669+     def  test_getdoc_inherited_cached_property (self ):
670+         self .assertEqual (inspect .getdoc (mod3 .Parent .foo ),
671+                          inspect .getdoc (mod3 .Child .foo ))
672+ 
672673    @unittest .skipIf (MISSING_C_DOCSTRINGS , "test requires docstrings" ) 
673674    def  test_finddoc (self ):
674675        finddoc  =  inspect ._finddoc 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments