#2723 closed defect (fixed)

spurious test failures on Windows due to absence of time.tzset()

Reported by: daira Owned by: daira
Priority: normal Milestone: 1.11.0
Component: code Version: 1.10.2
Keywords: tests blocks-release windows Cc:
Launchpad Bug:

Description (last modified by daira)

allmydata.test.test_web.Web.test_PUT_update_at_invalid_offset ...
Traceback (most recent call last):
  File "c:\users\buildslave\tahoe\daira_win7-64_py2_7\build\src\allmydata\test\test_web.py", line 286, in setUp
  File "c:\users\buildslave\tahoe\daira_win7-64_py2_7\build\src\allmydata\test\common_util.py", line 190, in setTimezone
exceptions.AttributeError: 'module' object has no attribute 'tzset'

Change History (3)

comment:1 Changed at 2016-02-02T17:52:57Z by daira

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed at 2016-02-02T18:50:10Z by Daira Hopwood <daira@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 0abbf47/trunk:

Don't call time.tzset() if the platform doesn't have it. fixes ticket:2723

Signed-off-by: Daira Hopwood <daira@…>

comment:3 Changed at 2016-03-22T05:03:36Z by warner

  • Milestone changed from 1.10.3 to 1.11.0

Milestone renamed

Note: See TracTickets for help on using tickets.