[issue17877] Skip test_variable_tzname when the zoneinfo database is missing

Ezio Melotti report at bugs.python.org
Wed May 8 10:15:03 CEST 2013


Ezio Melotti added the comment:

> The attached patch checks if /usr/share/zoneinfo or /usr/lib/zoneinfo exist

FTR these two locations are described by `man tzfile`:
"""
This page describes the structure of the timezone files used by tzset(3).  These files are typically found under one of the directories
/usr/lib/zoneinfo or /usr/share/zoneinfo.
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17877>
_______________________________________


More information about the Python-bugs-list mailing list