Roundup Tracker - Issues

Issue 2550525

classification
Work with newer pytz versions
Type: compile error Severity: normal
Components: Infrastructure Versions: devel
process
Status: closed fixed
:
: stefan : richard, stefan
Priority: : patch

Created on 2009-03-10 14:51 by stefan, last changed 2009-03-10 21:02 by stefan.

Files
File name Uploaded Description Edit Remove
patch stefan, 2009-03-10 14:51
Messages
msg3624 Author: [hidden] (stefan) Date: 2009-03-10 14:51
Running the testsuite I noticed an error in the userauditor test:

The test expects a 'ValueError' for an unknown timezone, while my pytz
version (2008i) uses 'UnknownTimeZoneError'.
Unfortunately this change (if it is one) isn't documented in the module
docs. Thus, the attached patch attempts to import
pytz.UnknownTimeZoneError, and if that fails, falls back to the old
ValueError.

OK to apply ?
msg3628 Author: [hidden] (stefan) Date: 2009-03-10 21:02
Fixed as per rev:4179
History
Date User Action Args
2009-03-10 21:02:20stefansetstatus: new -> closed
resolution: fixed
messages: + msg3628
2009-03-10 19:43:28stefanlinkissue2550524 superseder
2009-03-10 14:51:22stefancreate