summaryrefslogtreecommitdiff
path: root/src/mailman/commands/tests/test_help.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/commands/tests/test_help.py')
-rw-r--r--src/mailman/commands/tests/test_help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/tests/test_help.py b/src/mailman/commands/tests/test_help.py
index 74eaae84e..ea8105d2a 100644
--- a/src/mailman/commands/tests/test_help.py
+++ b/src/mailman/commands/tests/test_help.py
@@ -51,7 +51,7 @@ class TestHelp(unittest.TestCase):
('more', 'than', 'one'),
results)
self.assertEqual(status, ContinueProcessing.no)
- self.assertEqual(results.decode('utf-8'), """\
+ self.assertEqual(str(results), """\
The results of your email command are provided below.
help: too many arguments: more than one
@@ -63,7 +63,7 @@ help: too many arguments: more than one
status = self._help.process(self._mlist, Message(), {},
('doesnotexist',), results)
self.assertEqual(status, ContinueProcessing.no)
- self.assertEqual(results.decode('utf-8'), """\
+ self.assertEqual(str(results), """\
The results of your email command are provided below.
help: no such command: doesnotexist