Skip to content

Commit

Permalink
Fix test failure with tzdata 2024b-3. (#1458)
Browse files Browse the repository at this point in the history
EST & MET are obsoleted and moved to tzdata-legacy.
  • Loading branch information
sebastic authored Oct 10, 2024
1 parent e371c6d commit 8c48abf
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 8c48abf

Please sign in to comment.