Skip to content

Commit 4df4a93

Browse files
committed
remove from pvsystem.py and test_pvsystem.py
1 parent 4cfda4a commit 4df4a93

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

pvlib/pvsystem.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,12 +2273,6 @@ def sapm(effective_irradiance, temp_cell, module):
22732273
return out
22742274

22752275

2276-
sapm_spectral_loss = deprecated(
2277-
since='0.10.0',
2278-
alternative='pvlib.spectrum.spectral_factor_sapm'
2279-
)(spectrum.spectral_factor_sapm)
2280-
2281-
22822276
def sapm_effective_irradiance(poa_direct, poa_diffuse, airmass_absolute, aoi,
22832277
module):
22842278
r"""

pvlib/tests/test_pvsystem.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,6 @@ def test_PVSystem_multi_array_sapm(sapm_module_params):
233233
system.sapm(500, temp_cell)
234234

235235

236-
def test_sapm_spectral_loss_deprecated(sapm_module_params):
237-
with pytest.warns(pvlibDeprecationWarning,
238-
match='Use pvlib.spectrum.spectral_factor_sapm'):
239-
pvsystem.sapm_spectral_loss(1, sapm_module_params)
240-
241-
242236
def test_PVSystem_sapm_spectral_loss(sapm_module_params, mocker):
243237
mocker.spy(spectrum, 'spectral_factor_sapm')
244238
system = pvsystem.PVSystem(module_parameters=sapm_module_params)

0 commit comments

Comments
 (0)