Skip to content

Commit b55f56e

Browse files
committed
*_test_not_working_*
1 parent ed0d2de commit b55f56e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pvlib/tests/test_irradiance.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,12 @@ def test_clearsky_index():
12351235
assert_series_equal(out, expected)
12361236

12371237

1238+
def test_clearsky_index_renaming():
1239+
with pytest.warns(pvlibDeprecationWarning, match='ghi_clear'):
1240+
ghi, clearsky_ghi = 200, 300
1241+
irradiance.clearsky_index(ghi, clearsky_ghi)
1242+
1243+
12381244
def test_clearness_index():
12391245
ghi = np.array([-1, 0, 1, 1000])
12401246
solar_zenith = np.array([180, 90, 89.999, 0])

0 commit comments

Comments
 (0)