]> granicus.if.org Git - python/commit
closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH...
authorAlexey Izbyshev <izbyshev@ispras.ru>
Tue, 6 Nov 2018 04:29:07 +0000 (07:29 +0300)
committerBenjamin Peterson <benjamin@python.org>
Tue, 6 Nov 2018 04:29:07 +0000 (20:29 -0800)
commitf1b9ad3d38c11676b45edcbf2369239bae436e56
tree166d9bb0fb63bf4f5ca4c3f10614c7bd50189bbf
parentf1d3efc2fba704692d539acc3cb0376a1dd9d98f
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.
Lib/test/test_strptime.py