[issue10213] tests shouldn't fail with unset timezone

2016-09-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list ma

[issue10213] tests shouldn't fail with unset timezone

2014-07-11 Thread Mark Lawrence
Mark Lawrence added the comment: Given the extended EOL I'd assume that this is worth doing for 2.7. -- nosy: +BreamoreBoy versions: -Python 3.2 ___ Python tracker ___ _

[issue10213] tests shouldn't fail with unset timezone

2013-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I guess option 3 would be the best (in that people get more usable libraries). Option 2 seems okay as well. I don't much like 1 or 4. -- ___ Python tracker __

[issue10213] tests shouldn't fail with unset timezone

2013-02-22 Thread Ezio Melotti
Ezio Melotti added the comment: I tried to reproduce the issue and copied /usr/share/zoneinfo/Factory to /etc/localtime as suggested in msg119762. Only 2.7 and 3.2 are affected: >>> import time >>> time.strftime('%Z', time.gmtime(time.time())) 'Local time zone must be set--see zic manual page'

[issue10213] tests shouldn't fail with unset timezone

2010-10-28 Thread R. David Murray
R. David Murray added the comment: Indeed, Factory is part of the standard tz (zoneinfo) database, as can be seen on this web page that makes the database browsable: http://twiki.org/cgi-bin/xtra/tzdatepick.html Whether or not a distribution uses Factory initially is of course a distribution

[issue10213] tests shouldn't fail with unset timezone

2010-10-28 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: You can easily reproduce (at least on Gentoo) by copying /usr/share/zoneinfo/Factory to /etc/localtime. By checking for this exact message, I don't think the chance is very high that we're hiding a Python bug. I also think that Python tests should test Pytho

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread R. David Murray
R. David Murray added the comment: Well, djc's patch (turned into a skip) would only skip if the specific system error checked for was found. The message is a system message, you'll see it in the 'date' command output if the timezone isn't set. A little googling indicates that it is not Gent

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : test_strptime in test_time fails when the timezone is not set: == FAIL: test_strptime (test.test_time.TimeTestCase) -- Tra