Skip to content

Commit

Permalink
Skip aia_test_data figure if sunpy is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Oct 11, 2024
1 parent d3577ed commit 1e5c275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reproject/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ def valid_celestial_output_projections(request, simple_celestial_wcs):
@pytest.fixture(params=["fits", "asdf"])
def aia_test_data(request):

pytest.importorskip("sunpy", minversion="6.0.1")

from sunpy.coordinates.ephemeris import get_body_heliographic_stonyhurst
from sunpy.map import Map

Expand Down

0 comments on commit 1e5c275

Please sign in to comment.