Skip to content

Commit

Permalink
Merge pull request #12617 from Carreau/skip-ipykernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 13, 2020
2 parents 9996a0a + 2844717 commit 887e93e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions IPython/core/tests/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ def _get_inline_config():
from ipykernel.pylab.config import InlineBackend
return InlineBackend.instance()

@dec.skip_without('matplotlib')

@dec.skip_without("ipykernel")
@dec.skip_without("matplotlib")
def test_set_matplotlib_close():
cfg = _get_inline_config()
cfg.close_figures = False
Expand Down Expand Up @@ -173,7 +175,9 @@ def test_set_matplotlib_formats():
else:
nt.assert_not_in(Figure, f)

@dec.skip_without('matplotlib')

@dec.skip_without("ipykernel")
@dec.skip_without("matplotlib")
def test_set_matplotlib_formats_kwargs():
from matplotlib.figure import Figure
ip = get_ipython()
Expand Down

0 comments on commit 887e93e

Please sign in to comment.