@@ -278,7 +278,7 @@ def test_section_twice():
278278 assert_raises (ValueError , NumpyDocString , doc_text )
279279
280280 # if we have a numpydoc object, we know where the error came from
281- class Dummy ( object ) :
281+ class Dummy :
282282 """
283283 Dummy class.
284284
@@ -817,7 +817,7 @@ def test_see_also_parse_error():
817817
818818
819819def test_see_also_print ():
820- class Dummy ( object ) :
820+ class Dummy :
821821 """
822822 See Also
823823 --------
@@ -858,7 +858,7 @@ def test_unknown_section():
858858This should be ignored and warned about
859859"""
860860
861- class BadSection ( object ) :
861+ class BadSection :
862862 """Class with bad section.
863863
864864 Nope
@@ -995,7 +995,7 @@ def test_use_blockquotes():
995995
996996def test_class_members ():
997997
998- class Dummy ( object ) :
998+ class Dummy :
999999 """
10001000 Dummy class.
10011001
@@ -1011,7 +1011,7 @@ def spammity(self):
10111011 """Spammity index"""
10121012 return 0.95
10131013
1014- class Ignorable ( object ) :
1014+ class Ignorable :
10151015 """local class, to be ignored"""
10161016 pass
10171017
@@ -1327,7 +1327,7 @@ def test_templated_sections():
13271327def test_nonstandard_property ():
13281328 # test discovery of a property that does not satisfy isinstace(.., property)
13291329
1330- class SpecialProperty ( object ) :
1330+ class SpecialProperty :
13311331
13321332 def __init__ (self , axis = 0 , doc = "" ):
13331333 self .axis = axis
0 commit comments