File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
import matplotlib as mpl
11
11
from matplotlib .tests import assert_str_equal
12
+ from matplotlib .testing .decorators import cleanup
12
13
from nose .tools import assert_true , assert_raises , assert_equal
13
14
import nose
14
15
from itertools import chain
@@ -116,6 +117,7 @@ def test_rcparams_init():
116
117
mpl .RcParams ({'figure.figsize' : (3.5 , 42 , 1 )})
117
118
118
119
120
+ @cleanup
119
121
def test_Bug_2543 ():
120
122
# Test that it possible to add all values to itself / deepcopy
121
123
# This was not possible because validate_bool_maybe_none did not
@@ -146,6 +148,7 @@ def test_Bug_2543():
146
148
assert_true (mpl .rcParams ['svg.fonttype' ] == "none" )
147
149
148
150
151
+ @cleanup
149
152
def test_Bug_2543_newer_python ():
150
153
# only split from above because of the usage of assert_raises
151
154
# as a context manager, which only works in 2.7 and above
You can’t perform that action at this time.
0 commit comments