Skip to content

Commit

Permalink
Issue python#24836: Skip FormatDateTests of test_email.test_utils on …
Browse files Browse the repository at this point in the history
…Mac OS X Snow

Leopard because this OS uses out of date (pre 2011k) timezone files.
  • Loading branch information
vstinner committed Sep 18, 2015
1 parent 511491a commit 5393647
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_email/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ def test_variable_tzname(self):
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')
Expand Down

0 comments on commit 5393647

Please sign in to comment.