Skip to content

Commit

Permalink
Update pvanalytics/tests/features/test_daytime.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Anderson <[email protected]>
  • Loading branch information
kperrynrel and kandersolar authored Dec 27, 2023
1 parent af6b352 commit 0a5b231
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 @@ -388,4 +388,4 @@ def test_consistent_modeled_midday_series(daytime_mask_right_aligned,
# which are asserted above as identical to center-aligned data) is less
# than 10 minutes/600 seconds (this threshold was generally considered
# noise in the time shift detection paper).
assert all(midday_diff_center.dt.seconds <= 600)
assert all(midday_diff_center.dt.total_seconds().abs() <= 600)

0 comments on commit 0a5b231

Please sign in to comment.