Roundup Tracker - Issues

Issue 2550524

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

Created on 2009-03-10 14:51 by stefan, last changed 2009-03-10 20:54 by richard.

Messages
msg3623 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 ?
msg3627 Author: [hidden] (richard) Date: 2009-03-10 20:54
Sounds good.
History
Date User Action Args
2009-03-10 20:54:19richardsetmessages: + msg3627
2009-03-10 19:43:28stefansetstatus: new -> closed
resolution: duplicate
superseder: Work with newer pytz versions
2009-03-10 14:51:01stefancreate