#735 closed defect (duplicate)

time_format.parse_date() test failure

Reported by: zooko Owned by: bdew
Priority: minor Milestone: eventually
Component: code Version: 1.4.1
Keywords: Cc:
Launchpad Bug:


On Black Dew's Windows machine:

[FAIL]: allmydata.test.test_storage.LeaseCrawler.test_parse_date

Traceback (most recent call last):
  File "d:\py\tahoe\build\src\allmydata\test\test_storage.py", line 2176, in test_parse_date
    self.failUnlessEqual(p("2009-03-18"), 1237334400)
twisted.trial.unittest.FailTest: not equal:
a = 1237327200
b = 1237334400

Full log:


Change History (2)

comment:1 Changed at 2009-07-25T22:48:54Z by zooko

  • Owner changed from somebody to bdew

Hm... Was this the same issue as #733? If so, this can be closed as "duplicate".

comment:2 Changed at 2009-07-26T06:59:56Z by bdew

  • Resolution set to duplicate
  • Status changed from new to closed

This was because iso_utc_time_to_seconds was playing with the local timezone and it didn't work on windows. It was fixed by cc2953e6632d6efb to use calendar.timegm instead.

Note: See TracTickets for help on using tickets.