summaryrefslogtreecommitdiff
path: root/test/test_functional.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_functional.py')
-rw-r--r--test/test_functional.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_functional.py b/test/test_functional.py
index a6c6780..daf699f 100644
--- a/test/test_functional.py
+++ b/test/test_functional.py
@@ -48,8 +48,8 @@ def parse_python_version(str):
class TestReporter(reporters.BaseReporter):
- def add_message(self, msg_id, location, msg):
- self.messages.append(utils.Message(msg_id, self.linter.msgs_store.check_message_id(msg_id).symbol, location, msg))
+ def handle_message(self, msg):
+ self.messages.append(msg)
def on_set_current_module(self, module, filepath):
self.messages = []