Skip to content

Commit

Permalink
test(inconsistent-return-statements): Reword test name + docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kdestin committed Jun 11, 2023
1 parent 3c9a77c commit d9738b7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def bug_pylint_8747_wrong(self, s: str) -> int: # [inconsistent-return-statemen
except ValueError:
self._does_return_method()

def bug_pylint_8747_incorrect_annotation_trumps_inference(self, s: str) -> int:
"""Every return is consistent since pylint does not currently use inference
to detect that the NoReturn annotation is incorrect and the function actually returns
def bug_pylint_8747_incorrect_annotation(self, s: str) -> int:
"""Every return is consistent since pylint does not attempt to detect that the
NoReturn annotation is incorrect and the function actually returns
"""
try:
n = int(s)
Expand Down

0 comments on commit d9738b7

Please sign in to comment.