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