@@ -278,7 +278,7 @@ def test_section_twice():
278
278
assert_raises (ValueError , NumpyDocString , doc_text )
279
279
280
280
# if we have a numpydoc object, we know where the error came from
281
- class Dummy ( object ) :
281
+ class Dummy :
282
282
"""
283
283
Dummy class.
284
284
@@ -817,7 +817,7 @@ def test_see_also_parse_error():
817
817
818
818
819
819
def test_see_also_print ():
820
- class Dummy ( object ) :
820
+ class Dummy :
821
821
"""
822
822
See Also
823
823
--------
@@ -858,7 +858,7 @@ def test_unknown_section():
858
858
This should be ignored and warned about
859
859
"""
860
860
861
- class BadSection ( object ) :
861
+ class BadSection :
862
862
"""Class with bad section.
863
863
864
864
Nope
@@ -995,7 +995,7 @@ def test_use_blockquotes():
995
995
996
996
def test_class_members ():
997
997
998
- class Dummy ( object ) :
998
+ class Dummy :
999
999
"""
1000
1000
Dummy class.
1001
1001
@@ -1011,7 +1011,7 @@ def spammity(self):
1011
1011
"""Spammity index"""
1012
1012
return 0.95
1013
1013
1014
- class Ignorable ( object ) :
1014
+ class Ignorable :
1015
1015
"""local class, to be ignored"""
1016
1016
pass
1017
1017
@@ -1327,7 +1327,7 @@ def test_templated_sections():
1327
1327
def test_nonstandard_property ():
1328
1328
# test discovery of a property that does not satisfy isinstace(.., property)
1329
1329
1330
- class SpecialProperty ( object ) :
1330
+ class SpecialProperty :
1331
1331
1332
1332
def __init__ (self , axis = 0 , doc = "" ):
1333
1333
self .axis = axis
0 commit comments