Browse Source

Deleting useless comment

pull/79/head
Louis 9 years ago
parent
commit
80b0fbabaf
  1. 9
      patacrep/songs/chordpro/test/test_parser.py

9
patacrep/songs/chordpro/test/test_parser.py

@ -28,15 +28,6 @@ class ParserTxtRenderer(unittest.TestCase):
return return
with open("{}.sgc".format(self.basename), 'r', encoding='utf8') as sourcefile: with open("{}.sgc".format(self.basename), 'r', encoding='utf8') as sourcefile:
with open("{}.txt".format(self.basename), 'r', encoding='utf8') as expectfile: with open("{}.txt".format(self.basename), 'r', encoding='utf8') as expectfile:
#print(os.path.basename(sourcefile.name))
#with open("{}.txt.diff".format(self.basename), 'w', encoding='utf8') as difffile:
# difffile.write(
# str(chordpro.parse_song(
# sourcefile.read(),
# os.path.basename(sourcefile.name),
# )).strip()
# )
# sourcefile.seek(0)
self.assertMultiLineEqual( self.assertMultiLineEqual(
str(chordpro.parse_song( str(chordpro.parse_song(
sourcefile.read(), sourcefile.read(),

Loading…
Cancel
Save