From 6c9abb76eb68e151263d448b987e92ac6095569d Mon Sep 17 00:00:00 2001 From: jomae Date: Fri, 27 Sep 2024 07:53:42 +0000 Subject: [PATCH] 1.6.1dev: remove tests with `Asia/Choibalsan` for datefmt because the timezone is an alias of `Asia/Ulaanbaatar` in tzdata 2024b (closes #13787) git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17841 af82e41b-90c4-0310-8c96-b1721e28e2e2 --- trac/util/tests/datefmt.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/trac/util/tests/datefmt.py b/trac/util/tests/datefmt.py index 5491f0d8ab..aaa17e1e1c 100644 --- a/trac/util/tests/datefmt.py +++ b/trac/util/tests/datefmt.py @@ -2014,27 +2014,6 @@ def _compare_pytz(self, tz, value, localize=True): self._compare_pytz_localize_and_normalize(tz, dt_naive) if datefmt.pytz: - def test_pytz_choibalsan(self): - tz = datefmt.timezone('Asia/Choibalsan') - self._tzset('Asia/Choibalsan') - self._compare_pytz(tz, '1977-01-01T00:00') # No DST - self._compare_pytz(tz, '1978-01-01T01:00') # +1:00 (TZ change) - self._compare_pytz(tz, '1978-01-01T02:00') # (TZ change) - self._compare_pytz(tz, '1982-04-01T00:00') # No DST - self._compare_pytz(tz, '1983-04-01T00:00') # +2:00 (TZ change) - self._compare_pytz(tz, '1983-04-01T02:00') # (TZ change) - self._compare_pytz(tz, '1983-10-01T00:00', # -1:00 (DST end) - localize=False) - self._compare_pytz(tz, '2006-03-25T02:00') # +1:00 (DST start) - self._compare_pytz(tz, '2006-09-30T02:00', # -1:00 (DST end) - localize=False) - self._compare_pytz(tz, '2007-07-01T00:00') # No DST in 2007 - self._compare_pytz(tz, '2008-03-30T23:00', # (TZ change) - localize=False) - self._compare_pytz(tz, '2008-03-31T00:00', # -1:00 (TZ change) - localize=False) - self._compare_pytz(tz, '2009-07-01T00:00') # No DST - def test_pytz_guatemala(self): tz = datefmt.timezone('America/Guatemala') self._tzset('America/Guatemala')