Skip to content

Commit c426d2c

Browse files
committed
pvsystem test
1 parent 599a040 commit c426d2c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/sphinx/source/whatsnew/v0.15.2.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Deprecations
1414

1515
Bug fixes
1616
~~~~~~~~~
17-
* Corrects a bug in :py:func:`pvlib.temperature.fuentes`. Users can expect
18-
modeled cell temperature values to increase slightly.
17+
* Corrects a bug in :py:func:`pvlib.temperature.fuentes`. If inputs were
18+
data type integer, users can expect modeled cell temperature values to
19+
increase slightly.
1920
(:issue:`2608`, :pull:``)
2021
2122
Enhancements

tests/test_pvsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def test_PVSystem_fuentes_celltemp(mocker):
711711
assert_series_equal(spy.call_args[0][1], temps)
712712
assert_series_equal(spy.call_args[0][2], winds)
713713
assert spy.call_args[0][3] == noct_installed
714-
assert_series_equal(out, pd.Series([52.85, 55.85, 55.85], index,
714+
assert_series_equal(out, pd.Series([52.884, 56.835, 56.836], index,
715715
name='tmod'))
716716

717717

0 commit comments

Comments
 (0)