Skip to content

Commit

Permalink
fix(test_datetime.py): tests broken being locked to 2024, new year ne…
Browse files Browse the repository at this point in the history
…w me
  • Loading branch information
JohnVonNeumann committed Jan 17, 2025
1 parent 8452a73 commit 923866e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ def test_greater_than_or_equal():


@pytest.mark.parametrize("years, expected_year", [
(1, 2025),
(2, 2026),
(3, 2027),
(0, 2024),
(-1, 2023)
(1, 2026),
(2, 2027),
(3, 2028),
(0, 2025),
(-1, 2024)
])
def test_from_years_from_now(years: int, expected_year: int):
future_date = DateTime.create_datetime_years_from_now(years)
Expand Down

0 comments on commit 923866e

Please sign in to comment.