diff options
| author | Jochen Sprickerhof <github@jochen.sprickerhof.de> | 2023-08-29 15:00:43 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-29 15:00:43 (GMT) |
| commit | 7659128b9d7a30ddbcb063bc12e2ddb0f1f119e0 (patch) | |
| tree | d55af66b49ca687e382f4f118dd4832a687a18c5 /Lib/test/test_email/test_utils.py | |
| parent | 9205dfeca54cb24aa9a984c12a6419d71635be9f (diff) | |
| download | cpython-7659128b9d7a30ddbcb063bc12e2ddb0f1f119e0.zip cpython-7659128b9d7a30ddbcb063bc12e2ddb0f1f119e0.tar.gz cpython-7659128b9d7a30ddbcb063bc12e2ddb0f1f119e0.tar.bz2 | |
Use non alternate name for Kyiv (GH-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.
Diffstat (limited to 'Lib/test/test_email/test_utils.py')
| -rw-r--r-- | Lib/test/test_email/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_email/test_utils.py b/Lib/test/test_email/test_utils.py index 25fa48c..5768c7d 100644 --- a/Lib/test/test_email/test_utils.py +++ b/Lib/test/test_email/test_utils.py @@ -148,7 +148,7 @@ class LocaltimeTests(unittest.TestCase): @unittest.skipUnless(os.path.exists('/usr/share/zoneinfo') or os.path.exists('/usr/lib/zoneinfo'), "Can't find the Olson's TZ database") - @test.support.run_with_tz('Europe/Kiev') + @test.support.run_with_tz('Europe/Kyiv') def test_variable_tzname(self): t0 = datetime.datetime(1984, 1, 1, tzinfo=datetime.timezone.utc) t1 = utils.localtime(t0) |
