]> 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:50:04 +0000 (20:50 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 04:50:04 +0000 (20:50 -0800)
commitd0e3105f7ca3fc54b167edc756ce545cbab0ce95
treeb686db88d259fbb6bfc7f5f01b0444f5d881d0ec
parent54bcb6c0f185be29b2a626d2f1430c110c823a7d
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