Skip to content

Commit c6d8ab9

Browse files
committed
Corrects test + flake8 issue.
1 parent aaa52e3 commit c6d8ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_pvsystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def test_PVSystem_faiman_rad_celltemp(mocker):
518518
def test_PVSystem_ross_celltemp(mocker):
519519
# example value
520520
k = 0.0208 # free-standing system
521-
noct = None # function expects only one of two, the other as None
521+
noct = None # function expects only one of two, the other as None
522522

523523
temp_model_params = {'k': k}
524524
system = pvsystem.PVSystem(temperature_model_parameters=temp_model_params)
@@ -527,7 +527,7 @@ def test_PVSystem_ross_celltemp(mocker):
527527
irrads = 1000
528528
winds = None
529529
out = system.get_cell_temperature(irrads, temps, winds, model='ross')
530-
temperature.ross.assert_called_once_with(irrads, temps, noct, k)
530+
temperature.ross.assert_called_once_with(irrads, temps, k=k)
531531
assert_allclose(out, 45.8, atol=1e-1)
532532

533533

0 commit comments

Comments
 (0)