summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-18 14:32:23 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-18 14:32:23 (GMT)
commit53936474aa2e9057ff9fbb33fb641707e79bc3a2 (patch)
treeb332d77003bb16e8705594e5f1a65afe32d3f262
parent511491ade0bb77febb176bc75f049797f0c71ed0 (diff)
downloadcpython-53936474aa2e9057ff9fbb33fb641707e79bc3a2.zip
cpython-53936474aa2e9057ff9fbb33fb641707e79bc3a2.tar.gz
cpython-53936474aa2e9057ff9fbb33fb641707e79bc3a2.tar.bz2
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.
-rw-r--r--Lib/test/test_email/test_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_email/test_utils.py b/Lib/test/test_email/test_utils.py
index 1e9cd63..6dcb3bb 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')