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

Skip to content

Commit 0676217

Browse files
committed
Deprecate matplotlib.tests.assert_str_equal.
1 parent 2bce760 commit 0676217

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)