Skip to content

Commit

Permalink
Fix spurious test error with pandas 2.1 (#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar authored Oct 17, 2023
1 parent af8dde5 commit 49be5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvlib/tests/test_solarposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def test_sun_rise_set_transit_ephem_horizon(golden):
sunrise_delta = datetime.datetime(2016, 1, 3, 7, 17, 11) - \
datetime.datetime(2016, 1, 3, 7, 21, 33)
expected = pd.Series(index=times,
data=sunrise_delta,
data=[sunrise_delta],
name='sunrise').dt.round('min')
assert_series_equal(expected, result_rounded)

Expand Down

0 comments on commit 49be5b5

Please sign in to comment.