Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause authored Sep 23, 2023
1 parent 458e404 commit 26b7c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_load_stratospheric_aerosol_optical_depth_data():

aod = load_stratospheric_aerosol_optical_depth_obs(version="2022", resample=True)

time = xr.date_range("1850", "2023", freq="A")
time = pd.date_range("1850", "2023", freq="A")
time = xr.DataArray(time, dims="time", coords={"time": time})

xr.testing.assert_equal(aod.time, time)
Expand All @@ -21,7 +21,7 @@ def test_load_stratospheric_aerosol_optical_depth_data_no_resample():

aod = load_stratospheric_aerosol_optical_depth_obs(version="2022", resample=False)

time = xr.date_range("1850", "2022-12", freq="MS")
time = pd.date_range("1850", "2022-12", freq="MS")
time = xr.DataArray(time, dims="time", coords={"time": time})

xr.testing.assert_equal(aod.time, time)
Expand Down

0 comments on commit 26b7c17

Please sign in to comment.