Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_timezone: Ignore legacy MET, MEST aliases.

Anders Kaseorgf9faad0997b7
diff --git a/zerver/tests/test_timezone.py b/zerver/tests/test_timezone.py
index 8b0742f0c79..3a5bbb32f7a 100644
--- a/zerver/tests/test_timezone.py
+++ b/zerver/tests/test_timezone.py
@@ -35,6 +35,7 @@ class TimeZoneTest(ZulipTestCase):
datetime(now.year, 12, 21, tzinfo=timezone.utc),
]
extra = {*common_timezones.items(), *ambiguous_abbrevs}
+ extra -= {("MET", +3600), ("MEST", +7200)} # Removed in tzdata 2024b
for name in zoneinfo.available_timezones():
tz = zoneinfo.ZoneInfo(name)
for date in dates: