]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (GH-113831)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Jan 2024 12:00:17 +0000 (13:00 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 12:00:17 +0000 (12:00 +0000)
commit8046eb0cc89a66b93616501c1d7d199a59e998d4
tree7f1a6ce27fc7f8dbf412fe0c96b0724353da4510
parentd63e4c49d3d1080ff53338fea3b37220161d1891
[3.12] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (GH-113831)

Determine the support of the Kyiv timezone by checking the result of
astimezone() which uses the system tz database and not the one
populated by zoneinfo.
(cherry picked from commit 931d7e052e22aa01e18fcc67ed71b6ea305aff71)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_email/test_utils.py