diff options
author | Glenn Matthews <glenn@e-dad.net> | 2016-07-18 16:02:48 -0400 |
---|---|---|
committer | Glenn Matthews <glenn@e-dad.net> | 2016-07-19 13:56:06 -0400 |
commit | f63f165dbcc87fd792916c47f4d5c5e7796f00d0 (patch) | |
tree | d0d4522095d6204c2de967df4afb258fec34f23f /pylint/test/unittest_lint.py | |
parent | 0495355af9b2958e2ecd23311a697a8a7a7cc887 (diff) | |
download | pylint-git-f63f165dbcc87fd792916c47f4d5c5e7796f00d0.tar.gz |
Rename UnknownMessage, EmptyReport to UnknownMessageError, EmptyReportError
Diffstat (limited to 'pylint/test/unittest_lint.py')
-rw-r--r-- | pylint/test/unittest_lint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/test/unittest_lint.py b/pylint/test/unittest_lint.py index 634af8fa8..8e8e58168 100644 --- a/pylint/test/unittest_lint.py +++ b/pylint/test/unittest_lint.py @@ -22,7 +22,7 @@ from pylint.lint import PyLinter, Run, preprocess_options, \ from pylint.utils import MSG_STATE_SCOPE_CONFIG, MSG_STATE_SCOPE_MODULE, MSG_STATE_CONFIDENCE, \ MessagesStore, PyLintASTWalker, MessageDefinition, FileState, \ build_message_def, tokenize_module -from pylint.exceptions import InvalidMessageError, UnknownMessage +from pylint.exceptions import InvalidMessageError, UnknownMessageError from pylint.testutils import TestReporter from pylint.reporters import text from pylint import checkers @@ -636,7 +636,7 @@ class MessagesStoreTC(unittest.TestCase): def test_check_message_id(self): self.assertIsInstance(self.store.check_message_id('W1234'), MessageDefinition) - self.assertRaises(UnknownMessage, + self.assertRaises(UnknownMessageError, self.store.check_message_id, 'YB12') def test_message_help(self): |