summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2019-08-04 21:23:16 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-09-10 11:14:38 +0200
commit398ab5ab37a4e4d0945d23372b237e8411848ed2 (patch)
tree62c29003bcd43ef7a6570e28da53aaadc77633ba
parent3981bec0d1edc0cfc0ff8fc67b42038735e25fe4 (diff)
downloadpylint-git-398ab5ab37a4e4d0945d23372b237e8411848ed2.tar.gz
[test/functional] Better error message for fail
-rw-r--r--tests/test_functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 9ff9e7763..95f52f55d 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -347,7 +347,7 @@ class LintModuleTest(object):
def _check_output_text(self, expected_messages, expected_lines, received_lines):
assert (
self._split_lines(expected_messages, expected_lines)[0] == received_lines
- ), self._test_file.base
+ ), "Error with the following functional test: {}".format(self._test_file.base)
class LintModuleOutputUpdate(LintModuleTest):