pytz-appengine
pytz-appengine copied to clipboard
Fail in nosetests
When running "nosetests --rednose --logging-level=INFO" (after: clone, "./build.py all", "cd pytz"), I get the following FAIL message:
FAIL: no_testCreateLocaltime (test_tzinfo.LocalTestCase)
Traceback (most recent call last):
tests/test_tzinfo.py line 696 in no_testCreateLocaltime
'2004-10-31 02:00:00 CET+0100'
AssertionError: '2004-10-31 02:00:00 AMT+0020' != '2004-10-31 02:00:00 CET+0100'
Is this specific to the pytz-appengine approach, or might it belong to pytz itself?
That looks to be an upstream problem.
Are you in timezone AMT by any chance?
I'm in "Europe/Amsterdam"
In my virtual machine, changed the local timezone to "Europe/Brussels", rebooted, and tried again: same result.
Thanks.
I'm confident this is an upstream problem. The comment in the pytz test code is:
def no_testCreateLocaltime(self):
# It would be nice if this worked, but it doesn't.
Seems as if we are stuck with it. IMHO upstream ought to apply a skip decorator like @unittest.skip("Wishful thinking :)"). Or fix the underlying issue.
Will leave this open until we see an upstream fix merged.