diff --git a/tests/test_search.py b/tests/test_search.py index 53413a3f0..e4470e9cd 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -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)),