##// END OF EJS Templates
Fix compatibility with pytest 8...
Lumir Balhar -
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
@@ -94,7 +94,7 b' qtconsole = ['
94 94 ]
95 95 terminal = []
96 96 test = [
97 "pytest<8",
97 "pytest",
98 98 "pytest-asyncio<0.22",
99 99 "testpath",
100 100 "pickleshare",
General Comments 0
You need to be logged in to leave comments. Login now