mirror of https://github.com/python/cpython.git
[3.10] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (#126438)
This commit is contained in:
parent
9286ab3a10
commit
5f24da9d75
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue