Browse Source

Lint compliance

pull/120/head
Oliverpool 9 years ago
parent
commit
7fb4a1093c
  1. 4
      test/test_compilation/test_compilation.py

4
test/test_compilation/test_compilation.py

@ -90,7 +90,7 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
cwd=os.path.dirname(songbook),
)
def assertMultiLineEqual(self, result, expected):
def assertMultiLineEqual(self, result, expected, msg=None):
"""Replace the placeholder paths with the local paths"""
placeholder = "@TEST_FOLDER@"
@ -102,4 +102,4 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
localpath = os.path.abspath(resource_filename(patacrep.__name__, ''))
expected = expected.replace(placeholder, localpath)
return super().assertMultiLineEqual(result, expected)
return super().assertMultiLineEqual(result, expected, msg)

Loading…
Cancel
Save