Skip to content

Commit

Permalink
Fixed typos in 'handle_leap_year' and 'test_pvwatts_v8_lifetime_inval…
Browse files Browse the repository at this point in the history
…id_request' doc strings
  • Loading branch information
WilliamsTravis committed Nov 18, 2023
1 parent 24aadca commit 37e7604
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions reV/generation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@ def handle_leap_ti(ti, drop_leap=False):
Parameters
----------
ti : pandas.DatetimeIndex
Time-series datetime index with or without a leap days.
Time-series datetime index with or without leap days.
drop_leap : bool
Option to drop leap day (if True) or drop the last day of the year
(if False).
Option to drop leap days (if True) or drop the last day of each
leap year (if False).
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gen_pv.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def test_pvwatts_v8_lifetime():


def test_pvwatts_v8_lifetime_invalid_request():
"""Test reV pvwatts v8 generation/LCOE with system lifetime outputs."""
"""Test pvwatts v8 generation error with invalid lifetime outputs."""

year = 2012
rev2_points = slice(0, 3)
Expand Down

0 comments on commit 37e7604

Please sign in to comment.