diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-01 09:38:59 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-01 09:38:59 +0200 |
commit | 8f8587edff4d30c1437c5ea664bcf52f5715ad01 (patch) | |
tree | 69a791a19c86b11c58b4a6ff224ded09a452b447 | |
parent | 8d7a02784dfc3eb533b44779cc87b6f90aa47236 (diff) | |
download | pylint-git-8f8587edff4d30c1437c5ea664bcf52f5715ad01.tar.gz |
Remove an occurrence of a check that no longer exists. Close #2931
-rw-r--r-- | pylint/checkers/exceptions.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py index a89c5f5c7..d742e4c1b 100644 --- a/pylint/checkers/exceptions.py +++ b/pylint/checkers/exceptions.py @@ -231,8 +231,6 @@ class ExceptionRaiseLeafVisitor(BaseVisitor): if not utils.inherit_from_std_ex(cls) and utils.has_known_bases(cls): if cls.newstyle: self._checker.add_message("raising-non-exception", node=self._node) - else: - self._checker.add_message("nonstandard-exception", node=self._node) def visit_tuple(self, tuple_node): if PY3K or not tuple_node.elts: @@ -290,7 +288,6 @@ class ExceptionsChecker(checkers.BaseChecker): super(ExceptionsChecker, self).open() @utils.check_messages( - "nonstandard-exception", "misplaced-bare-raise", "raising-bad-type", "raising-non-exception", |