Bug#579704: python-tz testing code not modified for Debian

Matt Giuca matt.giuca at gmail.com
Fri Apr 30 01:03:52 UTC 2010


Package: python-tz
Version: svn 2074

The file tzfile.py is intended to be executable directly, which runs
some test cases by opening up the zoneinfo files. The Debian package
version of python-tz has the __init__.py file modified to use the
standard Debian zoneinfo files rather than the ones included with
pytz. This testing code, however, still tries to look that up in the
pytz local directory, and fails.

Attached is a patch (against the Subversion repository at
svn://svn.debian.org/svn/pkg-zope/python-tz/trunk) which fixes the
testing code to use the Debian zoneinfo files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pytz.patch
Type: text/x-diff
Size: 1150 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20100430/8d0ea3ab/attachment.patch>


More information about the pkg-zope-developers mailing list