From 53936474aa2e9057ff9fbb33fb641707e79bc3a2 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 18 Sep 2015 16:32:23 +0200 Subject: [PATCH] Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow Leopard because this OS uses out of date (pre 2011k) timezone files. --- Lib/test/test_email/test_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_email/test_utils.py b/Lib/test/test_email/test_utils.py index 1e9cd63e520..6dcb3bbe7aa 100644 --- a/Lib/test/test_email/test_utils.py +++ b/Lib/test/test_email/test_utils.py @@ -136,6 +136,9 @@ class LocaltimeTests(unittest.TestCase): t1 = utils.localtime(t0) self.assertEqual(t1.tzname(), 'EET') +# Issue #24836: The timezone files are out of date (pre 2011k) +# on Mac OS X Snow Leopard. +@test.support.requires_mac_ver(10, 7) class FormatDateTests(unittest.TestCase): @test.support.run_with_tz('Europe/Minsk')