Skip to content

Commit 1f5bcb5

Browse files
committed
adjust test
1 parent f04c9eb commit 1f5bcb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/tests/test_modelchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ def test_invalid_dc_model_params(sapm_dc_snl_ac_system, cec_dc_snl_ac_system,
17331733
'aoi_model': 'no_loss', 'spectral_model': 'no_loss',
17341734
'temperature_model': 'sapm', 'losses_model': 'no_loss'}
17351735
for array in sapm_dc_snl_ac_system.arrays:
1736-
array.module_parameters.pop('A0') # remove a parameter
1736+
array.module_parameters.pop('C0') # remove a parameter
17371737
with pytest.raises(ValueError):
17381738
ModelChain(sapm_dc_snl_ac_system, location, **kwargs)
17391739

0 commit comments

Comments
 (0)