Skip to content

Commit 4ef201b

Browse files
committed
back to ANY
1 parent 9bb9712 commit 4ef201b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/tests/ivtools/test_sdm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ def test_fit_desoto_init_guess(mocker):
8585
init_guess = {k: v for k, v in zip(
8686
['IL_0', 'Io_0', 'Rs_0', 'Rsh_0', 'a_0'], init_guess_array)}
8787
mocker.spy(optimize, 'root')
88-
specs = (9.43, 38.3, 8.71, 31.0, -0.13788, 0.005658, 1.121, -0.0002677,
89-
298.15, constants.value('Boltzmann constant in eV/K')) # for test
88+
#specs = (9.43, 38.3, 8.71, 31.0, -0.13788, 0.005658, 1.121, -0.0002677,
89+
# 298.15, constants.value('Boltzmann constant in eV/K')) # for test
9090
root_args = {} # to fill out call for test
9191
result, _ = sdm.fit_desoto(v_mp=31.0, i_mp=8.71, v_oc=38.3, i_sc=9.43,
9292
alpha_sc=0.005658, beta_voc=-0.13788,
9393
cells_in_series=60, init_guess=init_guess)
9494
optimize.root.assert_called_once_with(mocker.ANY,
9595
x0=pytest.approx(init_guess_array),
96-
args=(pytest.approx(specs),),
96+
args=(mocker.ANY,),
9797
**root_args)
9898

9999

0 commit comments

Comments
 (0)