summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_argparse.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py
index dde6d16..3b163c2 100644
--- a/test/test_argparse.py
+++ b/test/test_argparse.py
@@ -2221,7 +2221,8 @@ class TestMutuallyExclusiveGroupErrors(TestCase):
--soup
--nuts
'''
- self.assertEqual(parser.format_help(), textwrap.dedent(expected))
+ # note: .rstrip(' ') fixes different behaviour of py 2.4 textwrap.dedent
+ self.assertEqual(parser.format_help(), textwrap.dedent(expected).rstrip(' '))
class MEMixin(object):