summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/app/tests/test_moderation.py7
-rw-r--r--src/mailman/docs/NEWS.rst2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/mailman/app/tests/test_moderation.py b/src/mailman/app/tests/test_moderation.py
index dea2f5918..bc324faea 100644
--- a/src/mailman/app/tests/test_moderation.py
+++ b/src/mailman/app/tests/test_moderation.py
@@ -17,10 +17,11 @@
"""Moderation tests."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
+ 'TestModeration',
]
@@ -79,8 +80,8 @@ Message-ID: <alpha>
self.assertTrue('x-peer' in message)
# The X-Mailman-Approved-At header has local timezone information in
# it, so test that separately.
- self.assertEqual(message['x-mailman-approved-at'][:-4],
- 'Mon, 01 Aug 2005 07:49:23 -')
+ self.assertEqual(message['x-mailman-approved-at'][:-5],
+ 'Mon, 01 Aug 2005 07:49:23 ')
del message['x-mailman-approved-at']
# The Message-ID matches the original.
self.assertEqual(message['message-id'], '<alpha>')
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index a7e4a49ea..1dbc58eaa 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -98,6 +98,8 @@ Bug fixes
(LP: #872391)
* Fixed bogus use of `bounce_processing` attribute (should have been
`process_bounces`, with thanks to Vincent Fretin. (LP: #876774)
+ * Fix `test_moderation` for timezones East of UTC+0000, given by blacktav.
+ (LP: #890675)
3.0 alpha 8 -- "Where's My Thing?"