Skip to content

Commit 7659128

Browse files
authored
Use non alternate name for Kyiv (pythonGH-108533)
tzdata provides Kiev as an alternative to Kyiv: https://sources.debian.org/src/tzdata/2023c-10/backward/?hl=314#L314 But Debian moved it to the tzdata-legacy package breaking the test: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050530 This patch switches to the name provided by tzdata.
1 parent 9205dfe commit 7659128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_email/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def test_localtime_epoch_notz_daylight_false(self):
148148
@unittest.skipUnless(os.path.exists('/usr/share/zoneinfo') or
149149
os.path.exists('/usr/lib/zoneinfo'),
150150
"Can't find the Olson's TZ database")
151-
@test.support.run_with_tz('Europe/Kiev')
151+
@test.support.run_with_tz('Europe/Kyiv')
152152
def test_variable_tzname(self):
153153
t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc)
154154
t1 = utils.localtime(t0)

0 commit comments

Comments
 (0)