8000 Deprecate `pvsystem.singlediode` parameter `ivcurve_pnts` by reepoi · Pull Request #1743 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content
Prev Previous commit
Update pvlib/tests/test_pvsystem.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
  • Loading branch information
reepoi and kandersolar authored Jun 13, 2023
commit a5570a160fcdc46c5e8bfcdbbcce1ce43d68dc00
1 change: 1 addition & 0 deletions pvlib/tests/test_pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,7 @@ def test_singlediode_series_ivcurve(cec_module_params):
assert_allclose(v, expected[k], atol=1e-6)


@fail_on_pvlib_version('0.11')
@pytest.mark.parametrize('method', ['lambertw', 'brentq', 'newton'])
def test_singlediode_ivcurvepnts_deprecation_warning(method):
with pytest.warns(pvlibDeprecationWarning, match='ivcurve_pnts'):
Expand Down
0