##// END OF EJS Templates
skip test if ipykernel not there....
Matthias Bussonnier -
Show More
@@ -103,7 +103,7 b' matrix:'
103 python: "nightly"
103 python: "nightly"
104 dist: xenial
104 dist: xenial
105 - arch: amd64
105 - arch: amd64
106 python: "3.9-dev"
106 python: "3.9"
107 - os: osx
107 - os: osx
108 language: generic
108 language: generic
109 python: 3.7
109 python: 3.7
@@ -138,7 +138,9 b' def _get_inline_config():'
138 from ipykernel.pylab.config import InlineBackend
138 from ipykernel.pylab.config import InlineBackend
139 return InlineBackend.instance()
139 return InlineBackend.instance()
140
140
141 @dec.skip_without('matplotlib')
141
142 @dec.skip_without("ipykernel")
143 @dec.skip_without("matplotlib")
142 def test_set_matplotlib_close():
144 def test_set_matplotlib_close():
143 cfg = _get_inline_config()
145 cfg = _get_inline_config()
144 cfg.close_figures = False
146 cfg.close_figures = False
@@ -173,7 +175,9 b' def test_set_matplotlib_formats():'
173 else:
175 else:
174 nt.assert_not_in(Figure, f)
176 nt.assert_not_in(Figure, f)
175
177
176 @dec.skip_without('matplotlib')
178
179 @dec.skip_without("ipykernel")
180 @dec.skip_without("matplotlib")
177 def test_set_matplotlib_formats_kwargs():
181 def test_set_matplotlib_formats_kwargs():
178 from matplotlib.figure import Figure
182 from matplotlib.figure import Figure
179 ip = get_ipython()
183 ip = get_ipython()
General Comments 0
You need to be logged in to leave comments. Login now