From 891540b623830ee8320b885b7dd6b6dedbe5cfcf Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Sun, 8 Jul 2012 22:29:55 +0200 Subject: PEP8 compliance. Especially get rid of the "E128 continuation line under-indented for visual indent" which is new in later versions of the pep8 program. --- tests/richstring_test.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'tests/richstring_test.py') diff --git a/tests/richstring_test.py b/tests/richstring_test.py index 5e5f7f5..65e1ea7 100644 --- a/tests/richstring_test.py +++ b/tests/richstring_test.py @@ -91,7 +91,8 @@ class RichStringTests(unittest2.TestCase): class ParseEmphasisTests(unittest2.TestCase): def test_parse_without_emphasis(self): - self.assertEquals(plain('Hello'), parse_emphasis('Hello'), + self.assertEquals( + plain('Hello'), parse_emphasis('Hello'), 'Expected parse_emphasis to return a plain string') def test_parse_bold(self): @@ -174,11 +175,12 @@ class ParseEmphasisTests(unittest2.TestCase): parse_emphasis( 'You can _underline_ words, make them **bold** or *italic* ' 'or even ***bold italic.***' - ), - (plain('You can ') + underline('underline') + - plain(' words, make them ') + bold('bold') + plain(' or ') + - italic('italic') + plain(' or even ') + - (bold + italic)('bold italic.')) + ), ( + plain('You can ') + underline('underline') + + plain(' words, make them ') + bold('bold') + plain(' or ') + + italic('italic') + plain(' or even ') + + (bold + italic)('bold italic.') + ) ) def test_simplified_complicated(self): -- cgit