Message223955
| 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: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 |
|