From 1d96c98c94a5f98dd44228b2770e9c64ddaabd64 Mon Sep 17 00:00:00 2001 From: tp Date: Tue, 23 Apr 2019 19:15:17 +0200 Subject: [PATCH] remove inheritance from 'object' --- doc/source/whatsnew/v0.25.0.rst | 2 +- pandas/tests/indexes/multi/test_format.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index f0177b45bfa2c..3ccffdedcb895 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -92,7 +92,7 @@ The repr now looks like this: Previously, outputting a :class:`MultiIndex` printed all the ``levels`` and ``codes`` of the ``MultiIndex``, which was visually unappealing and made -the output more difficult to navigate: +the output more difficult to navigate. For example (limiting the range to 5): .. code-block:: ipython diff --git a/pandas/tests/indexes/multi/test_format.py b/pandas/tests/indexes/multi/test_format.py index 0915806eb8bf1..8315478d85125 100644 --- a/pandas/tests/indexes/multi/test_format.py +++ b/pandas/tests/indexes/multi/test_format.py @@ -76,7 +76,7 @@ def test_repr_max_seq_item_setting(idx): assert '...' not in str(idx) -class TestRepr(object): +class TestRepr: def test_repr(self, idx): result = idx[:1].__repr__()