diff --git a/photutils/psf/tests/test_epsf_stars.py b/photutils/psf/tests/test_epsf_stars.py
index <HASH>..<HASH> 100644
--- a/photutils/psf/tests/test_epsf_stars.py
+++ b/photutils/psf/tests/test_epsf_stars.py
@@ -61,6 +61,7 @@ class TestExtractStars:
             extract_stars([self.nddata, self.nddata], self.stars_tbl)
 
 
+@pytest.mark.skipif('not HAS_SCIPY')
 def test_epsf_star_residual_image():
     """
     Test to ensure ``compute_residual_image`` gives correct residuals.
Skip tests if scipy is not installed