This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2014-07-25.15:05:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406300706.97.0.297116152609.issue22067@psf.upfronthosting.co.za>
In-reply-to
Content
time_test fails when running after any test which uses strptime().

The bug can be easily reproduced by running test_time twice:

$ TZ=Europe/Kiev ./python -m test.regrtest -ugui -v test_time test_time
...
======================================================================
FAIL: test_strptime (test.test_time.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython-2.7/Lib/test/test_time.py", line 120, in test_strptime
    (format, strf_output))
AssertionError: conversion specifier '%Z' failed with 'MSK' input.

----------------------------------------------------------------------

All works on 3.x and with TZ=UTC.

May be this is related to issue13309.
History
Date User Action Args
2014-07-25 15:05:07serhiy.storchakasetrecipients: + serhiy.storchaka
2014-07-25 15:05:06serhiy.storchakasetmessageid: <1406300706.97.0.297116152609.issue22067@psf.upfronthosting.co.za>
2014-07-25 15:05:06serhiy.storchakalinkissue22067 messages
2014-07-25 15:05:06serhiy.storchakacreate