https://github.com/python/cpython/commit/5f24da9d75bb0150781b17ee4706e93e6bb364ea
commit: 5f24da9d75bb0150781b17ee4706e93e6bb364ea
branch: 3.10
author: Petr Viktorin <[email protected]>
committer: pablogsal <[email protected]>
date: 2024-11-05T19:55:43Z
summary:

[3.10] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (#126438)

files:
M Lib/test/test_email/test_utils.py

diff --git a/Lib/test/test_email/test_utils.py 
b/Lib/test/test_email/test_utils.py
index 78afb358035e81..51a5bac6dfaa8c 100644
--- a/Lib/test/test_email/test_utils.py
+++ b/Lib/test/test_email/test_utils.py
@@ -152,6 +152,8 @@ def test_localtime_epoch_notz_daylight_false(self):
     def test_variable_tzname(self):
         t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
         t1 = utils.localtime(t0)
+        if t1.tzname() == 'Europe':
+            self.skipTest("Can't find a Kyiv timezone database")
         self.assertEqual(t1.tzname(), 'MSK')
         t0 = datetime.datetime(1994, 1, 1, tzinfo=datetime.timezone.utc)
         t1 = utils.localtime(t0)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to