mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Issue #20220: Merge time zone workaround from 3.4 into 3.5
This commit is contained in:
commit
42347100bf
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ class TestImaplib(unittest.TestCase):
|
||||||
'"18-May-2033 05:33:20 +0200"']
|
'"18-May-2033 05:33:20 +0200"']
|
||||||
|
|
||||||
@run_with_locale('LC_ALL', 'de_DE', 'fr_FR')
|
@run_with_locale('LC_ALL', 'de_DE', 'fr_FR')
|
||||||
@run_with_tz('STD-1DST')
|
# DST rules included to work around quirk where the Gnu C library may not
|
||||||
|
# otherwise restore the previous time zone
|
||||||
|
@run_with_tz('STD-1DST,M3.2.0,M11.1.0')
|
||||||
def test_Time2Internaldate(self):
|
def test_Time2Internaldate(self):
|
||||||
expected = '"18-May-2033 05:33:20 +0200"'
|
expected = '"18-May-2033 05:33:20 +0200"'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue