Skip to content

Commit fce0cf3

Browse files
committed
remove inheritance from 'object'
1 parent 74d5298 commit fce0cf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

asv_bench/benchmarks/index_object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def time_get_loc(self):
181181
self.ind.get_loc(0)
182182

183183

184-
class IntervalIndexMethod(object):
184+
class IntervalIndexMethod:
185185
# GH 24813
186186
params = [10**3, 10**5]
187187

pandas/tests/indexes/multi/test_format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_repr_max_seq_item_setting(idx):
8585
assert '...' not in str(idx)
8686

8787

88-
class TestRepr(object):
88+
class TestRepr:
8989

9090
def test_repr(self, idx):
9191
result = idx[:1].__repr__()

0 commit comments

Comments
 (0)