diff --git a/lib/matplotlib/tests/test_ticker.py b/lib/matplotlib/tests/test_ticker.py index f499e5b7de07..b0ecb72dfdb4 100644 --- a/lib/matplotlib/tests/test_ticker.py +++ b/lib/matplotlib/tests/test_ticker.py @@ -587,7 +587,7 @@ class TestLogFormatter(object): @pytest.mark.parametrize('value, domain, expected', pprint_data) def test_pprint(self, value, domain, expected): fmt = mticker.LogFormatter() - label = fmt.pprint_val(value, domain) + label = fmt._pprint_val(value, domain) assert label == expected def _sub_labels(self, axis, subs=()):