Skip to content

Commit

Permalink
Fix test failure with tzdata 2024b-3.
Browse files Browse the repository at this point in the history
EST & MET are obsoleted and moved to tzdata-legacy.
  • Loading branch information
sebastic committed Oct 10, 2024
1 parent e371c6d commit 8131d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,12 @@ def test_compare_times_utc():

d1 = (
datetime.datetime(2020, 6, 21, 12, 0, 0, tzinfo=pytz.utc)
.astimezone(timezone("MET"))
.astimezone(timezone("Europe/Brussels"))
.timetz()
)
d2 = (
datetime.datetime(2020, 6, 21, 12, 0, 0, tzinfo=pytz.utc)
.astimezone(timezone("EST"))
.astimezone(timezone("America/Panama"))
.timetz()
)
assert compare_times_utc(d1, d2)
Expand Down

0 comments on commit 8131d39

Please sign in to comment.