Skip to content

Commit 7b83895

Browse files
authored
Address pandas deprecation warnings in test suite (pvlib#2778)
1 parent 1f90861 commit 7b83895

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_pvsystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,10 +2422,10 @@ def test_PVSystem_single_array():
24222422

24232423

24242424
def test_combine_loss_factors():
2425-
test_index = pd.date_range(start='1990/01/01T12:00', periods=365, freq='d')
2425+
test_index = pd.date_range(start='1990/01/01T12:00', periods=365, freq='D')
24262426
loss_1 = pd.Series(.10, index=test_index)
24272427
loss_2 = pd.Series(.05, index=pd.date_range(start='1990/01/01T12:00',
2428-
periods=365*2, freq='d'))
2428+
periods=365*2, freq='D'))
24292429
loss_3 = pd.Series(.02, index=pd.date_range(start='1990/01/01',
24302430
periods=12, freq='MS'))
24312431
expected = pd.Series(.1621, index=test_index)

0 commit comments

Comments
 (0)