Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar committed Feb 20, 2025
1 parent f04c9eb commit 1f5bcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvlib/tests/test_modelchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ def test_invalid_dc_model_params(sapm_dc_snl_ac_system, cec_dc_snl_ac_system,
'aoi_model': 'no_loss', 'spectral_model': 'no_loss',
'temperature_model': 'sapm', 'losses_model': 'no_loss'}
for array in sapm_dc_snl_ac_system.arrays:
array.module_parameters.pop('A0') # remove a parameter
array.module_parameters.pop('C0') # remove a parameter
with pytest.raises(ValueError):
ModelChain(sapm_dc_snl_ac_system, location, **kwargs)

Expand Down

0 comments on commit 1f5bcb5

Please sign in to comment.