Skip to content

Commit

Permalink
1.7.1dev: merge [17841] from 1.6-stable (fix for #13787)
Browse files Browse the repository at this point in the history
git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@17842 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Sep 27, 2024
2 parents 39e7e39 + 6c9abb7 commit d1c91be
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 d1c91be

Please sign in to comment.