From 7fb4a1093c56b2d5fd7835491c38060d0059b80d Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 22 Oct 2015 15:42:37 +0200 Subject: [PATCH] Lint compliance --- test/test_compilation/test_compilation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 4cdcdc64..62c76c09 100644 --- a/test/test_compilation/test_compilation.py +++ b/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)