]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 6 Nov 2018 04:47:11 +0000 (20:47 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 04:47:11 +0000 (20:47 -0800)
commitca592bcf56fca93210331327777fe20fdeff985a
tree029f18bfbe51dcac010e3d89423ef72116b824ff
parent4a46295a95bc2e7a93bcf0ce4cdaeeeb48729069
closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347)

The test depended on '/usr/share/zoneinfo/posixrules' or equivalent
because it set TZ without explicit DST transition rules. At least
on OpenSUSE Tumbleweed that file is linked to '/etc/localtime',
making the test fail with certain local timezones,
such as 'Europe/Moscow' which doesn't have DST transitions since 2011.
(cherry picked from commit f1b9ad3d38c11676b45edcbf2369239bae436e56)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Lib/test/test_strptime.py