Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ccc8f16

Browse files
authored
Merge pull request #8118 from anntzer/deprecate-assert_str_equal
Deprecate matplotlib.tests.assert_str_equal.
2 parents 2bce760 + 0676217 commit ccc8f16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/tests/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import difflib
77
import os
88

9+
from matplotlib import cbook
910
from matplotlib.testing import setup
1011

1112

@@ -19,6 +20,7 @@
1920
'test data.')
2021

2122

23+
@cbook.deprecated("2.1")
2224
def assert_str_equal(reference_str, test_str,
2325
format_str=('String {str1} and {str2} do not '
2426
'match:\n{differences}')):

0 commit comments

Comments
 (0)