Skip to content

Commit d0a9215

Browse files
committed
Change test because python 3.6 on Travis has problems
1 parent 5a610ce commit d0a9215

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

windpowerlib/tools.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ def linear_interpolation_extrapolation(df, target_height):
6060
... columns=[np.array(['wind_speed',
6161
... 'wind_speed']),
6262
... np.array([10, 80])])
63-
>>> round(linear_interpolation_extrapolation(
64-
... weather_df['wind_speed'], 100)[0], 2)
63+
>>> value = linear_interpolation_extrapolation(
64+
... weather_df['wind_speed'], 100)[0]
65+
>>> round(value * 100) / 100
6566
6.86
6667
6768
"""

0 commit comments

Comments
 (0)