Skip to content

Commit 4044ac5

Browse files
committed
Change deprecation version to v0.15.3, fix test
1 parent c0dc2f9 commit 4044ac5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pvlib/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ def reindl(surface_tilt, surface_azimuth, dhi, dni, ghi, dni_extra,
993993

994994

995995
@deprecated(
996-
since="0.15.2",
996+
since="0.15.3",
997997
removal="0.17.0",
998998
name="pvlib.irradiance.king",
999999
alternative="other diffuse transposition models in pvlib.irradiance",

tests/test_irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def test_reindl(irrad_data, ephem_data, dni_et):
254254
def test_king(irrad_data, ephem_data):
255255
with pytest.warns(pvlibDeprecationWarning, match='king'):
256256
result = irradiance.king(40, irrad_data['dhi'], irrad_data['ghi'],
257-
ephem_data['apparent_zenith'])
257+
ephem_data['apparent_zenith'])
258258
assert_allclose(result, [0, 44.629352, 115.182626, 79.719855], atol=1e-4)
259259

260260

0 commit comments

Comments
 (0)