Skip to content

Commit b147600

Browse files
Change accuracy of pvsyst_cell test function (#2080)
* Change accuracy of test function * Update value * Update test_temperature.py
1 parent 555b29a commit b147600

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pvlib/tests/test_temperature.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ def test_pvsyst_cell_ndarray():
8484
irrads = np.array([0, 500, 0])
8585
winds = np.array([10, 5, 0])
8686
result = temperature.pvsyst_cell(irrads, temps, wind_speed=winds)
87-
expected = np.array([0.0, 23.96551, 5.0])
88-
assert_allclose(expected, result, 3)
87+
expected = np.array([0.0, 23.965517, 5.0])
88+
assert_allclose(expected, result)
8989

9090

9191
def test_pvsyst_cell_series():
@@ -95,7 +95,7 @@ def test_pvsyst_cell_series():
9595
winds = pd.Series([10, 5, 0], index=times)
9696

9797
result = temperature.pvsyst_cell(irrads, temps, wind_speed=winds)
98-
expected = pd.Series([0.0, 23.96551, 5.0], index=times)
98+
expected = pd.Series([0.0, 23.965517, 5.0], index=times)
9999
assert_series_equal(expected, result)
100100

101101

0 commit comments

Comments
 (0)