summaryrefslogtreecommitdiff
path: root/src/mailman/chains/tests/test_hold.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/chains/tests/test_hold.py')
-rw-r--r--src/mailman/chains/tests/test_hold.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/chains/tests/test_hold.py b/src/mailman/chains/tests/test_hold.py
index 515894505..66f43fa60 100644
--- a/src/mailman/chains/tests/test_hold.py
+++ b/src/mailman/chains/tests/test_hold.py
@@ -44,9 +44,8 @@ class TestAutorespond(unittest.TestCase):
def setUp(self):
self._mlist = create_list('test@example.com')
- # Python 2.7 has assertMultiLineEqual. Let this work without bounds.
+ # Let assertMultiLineEqual work without bounds.
self.maxDiff = None
- self.eq = getattr(self, 'assertMultiLineEqual', self.assertEqual)
@configuration('mta', max_autoresponses_per_day=1)
def test_max_autoresponses_per_day(self):
@@ -71,7 +70,7 @@ class TestAutorespond(unittest.TestCase):
del message['message-id']
self.assertTrue('date' in message)
del message['date']
- self.eq(messages[0].msg.as_string(), """\
+ self.assertMultiLineEqual(messages[0].msg.as_string(), """\
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit