From 067621726f5e57532309d2fda44eeeb0781fc791 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Tue, 21 Feb 2017 00:43:22 -0800 Subject: [PATCH] Deprecate matplotlib.tests.assert_str_equal. --- lib/matplotlib/tests/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/matplotlib/tests/__init__.py b/lib/matplotlib/tests/__init__.py index b31594ee23ef..b15f7b0256d1 100644 --- a/lib/matplotlib/tests/__init__.py +++ b/lib/matplotlib/tests/__init__.py @@ -6,6 +6,7 @@ import difflib import os +from matplotlib import cbook from matplotlib.testing import setup @@ -19,6 +20,7 @@ 'test data.') +@cbook.deprecated("2.1") def assert_str_equal(reference_str, test_str, format_str=('String {str1} and {str2} do not ' 'match:\n{differences}')):