summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-16 09:43:05 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-16 09:43:05 (GMT)
commita28cdafe8385d4c5f68354c84f5f423f822e2ef9 (patch)
treeafcd5ed8d3dfacd6d5e6cab97e2b35901605c178
parentfca22327ca9086a17902b3a21f2b8af45f7a4892 (diff)
parent42347100bff765db08661f9f623d85e2873b067a (diff)
downloadcpython-a28cdafe8385d4c5f68354c84f5f423f822e2ef9.zip
cpython-a28cdafe8385d4c5f68354c84f5f423f822e2ef9.tar.gz
cpython-a28cdafe8385d4c5f68354c84f5f423f822e2ef9.tar.bz2
Issue #20220: Merge time zone workaround from 3.5
-rw-r--r--Lib/test/test_imaplib.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 8248656..07157f5 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -54,7 +54,9 @@ class TestImaplib(unittest.TestCase):
'"18-May-2033 05:33:20 +0200"']
@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):
expected = '"18-May-2033 05:33:20 +0200"'