diff options
| author | Barry Warsaw | 2012-03-12 22:13:13 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-12 22:13:13 -0700 |
| commit | 7ec68d7ad54e54878520a4adcffd335bac7b37e5 (patch) | |
| tree | 42204dabc5ff3b942d07b8b42bd8d6d8880d24a0 /src | |
| parent | b725360062b08a422f337b272bdbb56b7a41f51d (diff) | |
| download | mailman-7ec68d7ad54e54878520a4adcffd335bac7b37e5.tar.gz mailman-7ec68d7ad54e54878520a4adcffd335bac7b37e5.tar.zst mailman-7ec68d7ad54e54878520a4adcffd335bac7b37e5.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/app/tests/test_moderation.py | 7 | ||||
| -rw-r--r-- | src/mailman/docs/NEWS.rst | 2 |
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?" |
