Skip to content

Commit

Permalink
Fix timezone handling in test_relative_base_setting
Browse files Browse the repository at this point in the history
  • Loading branch information
serhii73 committed Dec 27, 2024
1 parent 73437ff commit baf3c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def test_search_and_parse(self, shortname, string, expected, settings=None):
(
"June 23th 5 pm EST",
datetime.datetime(
2023, 6, 23, 17, 0, tzinfo=pytz.timezone("US/Eastern")
2023, 6, 23, 17, 0, tzinfo=datetime.timezone(datetime.timedelta(hours=-5),name="EST")
),
),
("May 31", datetime.datetime(2023, 5, 31, 0, 0)),
Expand Down

0 comments on commit baf3c2b

Please sign in to comment.