We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928ae33 commit fb0ee4eCopy full SHA for fb0ee4e
1 file changed
tests/test_irradiance.py
@@ -1164,15 +1164,6 @@ def test_dirint_array_inputs():
1164
assert isinstance(result2, pd.Series)
1165
assert (result2 >= 0).all()
1166
1167
- # single time point + use_delta_kt_prime=True → ValueError
1168
- times_single = pd.DatetimeIndex(['2023-06-21 12:00'], tz='UTC')
1169
- with pytest.raises(ValueError, match="requires at least two times"):
1170
- irradiance.dirint(
1171
- ghi=np.array([500.0]),
1172
- solar_zenith=np.array([45.0]),
1173
- times=times_single,
1174
- use_delta_kt_prime=True
1175
- )
1176
1177
# single time point + use_delta_kt_prime=False → no error
1178
result3 = irradiance.dirint(
0 commit comments