Skip to content

Commit

Permalink
one more "T" -> "min" fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar committed Jan 22, 2024
1 parent 9bdfc51 commit 304542e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvanalytics/tests/features/test_daytime.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def daytime_mask_center_aligned(ac_power_series):
def _assert_daytime_no_shoulder(clearsky, output):
# every night-time value in `output` has low or 0 irradiance
assert all(clearsky[~output] < 3)
if pd.infer_freq(clearsky.index) == 'T':
if pd.infer_freq(clearsky.index) in ['T', 'min']:
# Blur the boundaries between night and day if testing
# high-frequency data since the daytime filtering algorithm does
# not have one-minute accuracy.
Expand Down

0 comments on commit 304542e

Please sign in to comment.