From 3ae363aff5cec6ce38cb917be2bc3a502664e797 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Fri, 14 Dec 2018 11:07:46 +0100 Subject: [PATCH] Avoid spamming tests with warnings re: deprecation of pprint_val. --- lib/matplotlib/tests/test_ticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=()):