diff --git a/pygmt/tests/test_sphinx_gallery.py b/pygmt/tests/test_sphinx_gallery.py index c40d4732a0b..1fc7d7f260c 100644 --- a/pygmt/tests/test_sphinx_gallery.py +++ b/pygmt/tests/test_sphinx_gallery.py @@ -9,7 +9,7 @@ from pygmt.figure import SHOWED_FIGURES, Figure from pygmt.sphinx_gallery import PyGMTScraper -pytest.importorskip("sphinx-gallery", reason="Requires sphinx-gallery to be installed") +pytest.importorskip("sphinx_gallery", reason="Requires sphinx-gallery to be installed") pytest.importorskip("IPython", reason="Requires IPython to be installed")