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 3c337a501..f2cd1dabf 100644
--- a/src/mailman/chains/tests/test_hold.py
+++ b/src/mailman/chains/tests/test_hold.py
@@ -45,10 +45,9 @@ class TestAutorespond(unittest.TestCase):
def setUp(self):
self._mlist = create_list('test@example.com')
- # Python 2.7 has assertMultiLineEqual
+ # Python 2.7 has assertMultiLineEqual. Let this work without bounds.
self.maxDiff = None
- self.eq = getattr(self, 'assertMultiLineEqual',
- getattr(self, 'assertEqual'))
+ self.eq = getattr(self, 'assertMultiLineEqual', self.assertEqual)
def test_max_autoresponses_per_day(self):
# The last one we sent was the last one we should send today. Instead