Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6e0889f0
Commit
6e0889f0
authored
Nov 16, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20220: Add DST rules to work around glibc quirk
This was triggering intermittent failures in unrelated tests.
parent
e28209f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_imaplib.py
Lib/test/test_imaplib.py
+3
-1
No files found.
Lib/test/test_imaplib.py
View file @
6e0889f0
...
...
@@ -55,7 +55,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"'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment