From acdc94b3e484a002b0dbe2132bed3ebbfe17cb6a Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 29 Aug 2015 09:10:56 +0200 Subject: [PATCH] pylint --- patacrep/songs/chordpro/test/test_parser.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/patacrep/songs/chordpro/test/test_parser.py b/patacrep/songs/chordpro/test/test_parser.py index c82338b3..8fdedc22 100644 --- a/patacrep/songs/chordpro/test/test_parser.py +++ b/patacrep/songs/chordpro/test/test_parser.py @@ -35,8 +35,14 @@ class ParserTxtRenderer(unittest.TestCase): with open("{}.txt".format(self.basename), 'r', encoding='utf8') as expectfile: chordproname = "{}.sgc".format(self.basename) self.assertMultiLineEqual( - ChordproSong(None, chordproname, config).render(output=chordproname, output_format="chordpro").strip(), - expectfile.read().strip().replace("DIRNAME", os.path.dirname(self.basename)).strip(), + ChordproSong(None, chordproname, config).render( + output=chordproname, + output_format="chordpro", + ).strip(), + expectfile.read().replace( + "DIRNAME", + os.path.dirname(self.basename), + ).strip(), ) def load_tests(__loader, tests, __pattern):