Edgewall Software

Opened 8 years ago

Last modified 8 years ago

#12467 closed defect

Unit test failure with pytz 2016.4 — at Initial Version

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: 0.12.8
Component: general Version:
Severity: normal Keywords: pytz
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

======================================================================
FAIL: test_pytz_moscow (trac.util.tests.datefmt.LocalTimezoneTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/util/tests/datefmt.py", line 1989, in test_pytz_moscow
    self._compare_pytz(tz, '1992-03-28T23:00')  # +1:00 (DST start)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/util/tests/datefmt.py", line 1925, in _compare_pytz
    self._compare_pytz_arithmetic(tz, dt_naive)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/util/tests/datefmt.py", line 1889, in _compare_pytz_arithmetic
    self.assertEqual(dt_tz.isoformat(), dt_localtz.isoformat())
AssertionError: '1992-03-28T23:00:00+03:00' != '1992-03-29T00:00:00+04:00'

----------------------------------------------------------------------
Ran 2139 tests in 166.387s

FAILED (failures=1)
make: *** [unit-test] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.