Skip to content

Commit

Permalink
1.6.1dev: remove tests with Asia/Choibalsan for datefmt because the…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
jomae committed Sep 27, 2024
1 parent 8b412f9 commit 6c9abb7
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions trac/util/tests/datefmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 6c9abb7

Please sign in to comment.