Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f24da9

Browse files
authored
[3.10] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (#126438)
1 parent 9286ab3 commit 5f24da9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_email/test_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ def test_localtime_epoch_notz_daylight_false(self):
152152
def test_variable_tzname(self):
153153
t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
154154
t1 = utils.localtime(t0)
155+
if t1.tzname() == 'Europe':
156+
self.skipTest("Can't find a Kyiv timezone database")
155157
self.assertEqual(t1.tzname(), 'MSK')
156158
t0 = datetime.datetime(1994, 1, 1, tzinfo=datetime.timezone.utc)
157159
t1 = utils.localtime(t0)

0 commit comments

Comments
 (0)