diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-17 03:08:25 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-17 03:08:25 +0200 |
commit | dc071966398d26159773ec627c954cf651d3036e (patch) | |
tree | 845cbc45a3399c17837bf4c2d03e1e40e2e7c74d /pylint/testutils.py | |
parent | 45780992de1fe5b55c756a2f279052ba8d36ad5f (diff) | |
download | pylint-git-dc071966398d26159773ec627c954cf651d3036e.tar.gz |
Remove features in 1.6.0 which were scheduled for removal.
Diffstat (limited to 'pylint/testutils.py')
-rw-r--r-- | pylint/testutils.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py index 551d0c8c8..f8906fbf4 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -104,9 +104,12 @@ class TestReporter(BaseReporter): self.out = StringIO() self.messages = [] - def add_message(self, msg_id, location, msg): + def handle_message(self, msg): """manage message of different type and in the context of path """ - _, _, obj, line, _ = location + obj = msg.obj + line = msg.line + msg_id = msg.msg_id + msg = msg.msg self.message_ids[msg_id] = 1 if obj: obj = ':%s' % obj |