Skip to content

Commit

Permalink
fix more unit tests...
Browse files Browse the repository at this point in the history
  • Loading branch information
kperrynrel committed Nov 6, 2023
1 parent fc44c2d commit e10a2d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvanalytics/tests/features/test_daytime.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ def test_get_sunrise_right_alignment(daytime_mask_right_aligned):
sunrise_right_aligned = daytime.get_sunrise(daytime_mask_right_aligned,
data_alignment='R')
# Assert that the output time series index is the same as the input
assert pd.testing.assert_index_equal(sunrise_right_aligned.index,
daytime_mask_right_aligned.index)
pd.testing.assert_index_equal(sunrise_right_aligned.index,
daytime_mask_right_aligned.index)
# Check that the output matches expected
sunrise_3_19 = sunrise_right_aligned[sunrise_right_aligned.index.date ==
date(2022, 3, 19)]
Expand Down

0 comments on commit e10a2d2

Please sign in to comment.