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__()