From: Victor Stinner Date: Fri, 18 Sep 2015 14:32:23 +0000 (+0200) Subject: Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow X-Git-Tag: v3.5.1rc1~329^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53936474aa2e9057ff9fbb33fb641707e79bc3a2;p=python 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. --- diff --git a/Lib/test/test_email/test_utils.py b/Lib/test/test_email/test_utils.py index 1e9cd63e52..6dcb3bbe7a 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')