Skip to content

Commit 09e559a

Browse files
committed
don't need the nose make_decorator function any more.
1 parent 78587c1 commit 09e559a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,5 +410,5 @@ def backend_switcher(*args, **kwargs):
410410
plt.switch_backend(prev_backend)
411411
return result
412412

413-
return nose.tools.make_decorator(func)(backend_switcher)
413+
return func(backend_switcher)
414414
return switch_backend_decorator

0 commit comments

Comments
 (0)