diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_functional.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py index 9e558723a..1f31ed65a 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -20,7 +20,6 @@ # For details: https://github.com/PyCQA/pylint/blob/master/COPYING """Functional full-module tests for PyLint.""" - import csv import os import sys @@ -48,6 +47,11 @@ class LintModuleOutputUpdate(testutils.LintModuleTest): csv.register_dialect("test", TestDialect) + def _get_expected(self): + with self._open_source_file() as f: + expected_msgs = self.get_expected_messages(f) + return expected_msgs, [] + def _check_output_text(self, _, expected_output, actual_output): if expected_output == actual_output: return |