summaryrefslogtreecommitdiff
path: root/tests/extensions
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-09-17 07:15:09 +0300
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-09-17 07:39:52 +0200
commit4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03 (patch)
tree223d33e15f4923f708f887a70acdadc991b4c7d4 /tests/extensions
parentda36529a6ae1fb83417e600528692530a27aac1f (diff)
downloadpylint-git-4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03.tar.gz
Spelling and grammar fixes
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/data/broad_try_clause.py2
-rw-r--r--tests/extensions/test_check_docs.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/extensions/data/broad_try_clause.py b/tests/extensions/data/broad_try_clause.py
index 5649023c6..2bbc4e7a2 100644
--- a/tests/extensions/data/broad_try_clause.py
+++ b/tests/extensions/data/broad_try_clause.py
@@ -12,7 +12,7 @@ except KeyError:
try: # [max-try-statements]
value = MY_DICTIONARY["key_one"]
value += 1
- print("This one has an finally clause only.")
+ print("This one has a finally clause only.")
finally:
pass
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py
index 28f8d935c..ef7ac4928 100644
--- a/tests/extensions/test_check_docs.py
+++ b/tests/extensions/test_check_docs.py
@@ -214,7 +214,7 @@ class TestParamDocChecker(CheckerTestCase):
self.checker.visit_functiondef(node)
def test_func_params_and_keyword_params_in_google_docstring(self) -> None:
- """Example of a function with Google style parameter splitted
+ """Example of a function with Google style parameter split
in Args and Keyword Args in the docstring
"""
node = astroid.extract_node(
@@ -236,7 +236,7 @@ class TestParamDocChecker(CheckerTestCase):
self.checker.visit_functiondef(node)
def test_func_params_and_wrong_keyword_params_in_google_docstring(self) -> None:
- """Example of a function with Google style parameter splitted
+ """Example of a function with Google style parameter split
in Args and Keyword Args in the docstring but with wrong keyword args
"""
node = astroid.extract_node(