summaryrefslogtreecommitdiff
path: root/tests/functional/n
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/functional/n
parentda36529a6ae1fb83417e600528692530a27aac1f (diff)
downloadpylint-git-4cb8ef1a89aec4fefb1a36fd484fa9f35be18f03.tar.gz
Spelling and grammar fixes
Diffstat (limited to 'tests/functional/n')
-rw-r--r--tests/functional/n/no/no_member_if_statements.py4
-rw-r--r--tests/functional/n/non/non_iterator_returned.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/n/no/no_member_if_statements.py b/tests/functional/n/no/no_member_if_statements.py
index ad87e9950..d26c5c483 100644
--- a/tests/functional/n/no/no_member_if_statements.py
+++ b/tests/functional/n/no/no_member_if_statements.py
@@ -48,9 +48,9 @@ try:
subprocess.check_call(['ls', '-']) # Deliberately made error in this line
except Exception as err:
if isinstance(err, subprocess.CalledProcessError):
- print(f'Subprocess error occured. Return code: {err.returncode}')
+ print(f'Subprocess error occurred. Return code: {err.returncode}')
else:
- print(f'An error occured: {str(err)}')
+ print(f'An error occurred: {str(err)}')
raise
diff --git a/tests/functional/n/non/non_iterator_returned.py b/tests/functional/n/non/non_iterator_returned.py
index 4d0dd2a39..294e6da01 100644
--- a/tests/functional/n/non/non_iterator_returned.py
+++ b/tests/functional/n/non/non_iterator_returned.py
@@ -68,7 +68,7 @@ class FileBasedIterator(object):
if self.file is not None:
self.file.close()
self.file = open(self.path, encoding="utf-8")
- # self file has two infered values: None and <instance of 'file'>
+ # self file has two inferred values: None and <instance of 'file'>
# we don't want to emit error in this case
return self.file