Show More
@@ -165,7 +165,7 b' class TestPylabSwitch(object):' | |||
|
165 | 165 | def enable_gui(self, gui): |
|
166 | 166 | pass |
|
167 | 167 | |
|
168 | def setup(self): | |
|
168 | def setup_method(self): | |
|
169 | 169 | import matplotlib |
|
170 | 170 | def act_mpl(backend): |
|
171 | 171 | matplotlib.rcParams['backend'] = backend |
@@ -184,7 +184,7 b' class TestPylabSwitch(object):' | |||
|
184 | 184 | self._save_cis = backend_inline.configure_inline_support |
|
185 | 185 | backend_inline.configure_inline_support = lambda *a, **kw: None |
|
186 | 186 | |
|
187 | def teardown(self): | |
|
187 | def teardown_method(self): | |
|
188 | 188 | pt.activate_matplotlib = self._save_am |
|
189 | 189 | pt.import_pylab = self._save_ip |
|
190 | 190 | backend_inline.configure_inline_support = self._save_cis |
General Comments 0
You need to be logged in to leave comments.
Login now