Message223955
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. |
|
Date |
User |
Action |
Args |
2014-07-25 15:05:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2014-07-25 15:05:06 | serhiy.storchaka | set | messageid: <1406300706.97.0.297116152609.issue22067@psf.upfronthosting.co.za> |
2014-07-25 15:05:06 | serhiy.storchaka | link | issue22067 messages |
2014-07-25 15:05:06 | serhiy.storchaka | create | |
|