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

Skip to content

Commit f41c08b

Browse files
committed
DOC documenting noseclasses's deprecation
1 parent d828f53 commit f41c08b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/api/api_changes/deprecations.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Deprecations
2+
````````````
3+
4+
- `matplotlib.testing.noseclasses` is deprecated and will be removed in 2.3

lib/matplotlib/testing/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import matplotlib
99
from matplotlib.cbook import is_string_like, iterable
1010
from matplotlib import rcParams, rcdefaults, use
11-
# For backward compatibility
12-
from . import noseclasses
1311

1412

1513
def _is_list_like(obj):

lib/matplotlib/testing/noseclasses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ class KnownFailure(_KnownFailure):
2424
def __init__(self):
2525
if not has_nose:
2626
raise ImportError("Need nose for this plugin.")
27-
pass

0 commit comments

Comments
 (0)