summaryrefslogtreecommitdiff
path: root/tests/test_func.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-02-10 19:30:15 +0100
committerGitHub <noreply@github.com>2022-02-10 19:30:15 +0100
commit595ec422d6f9bd32f42c356d2f316ec69e0f7bee (patch)
tree766a12ddd91b43e09f670f913a4069bc7dc82d57 /tests/test_func.py
parente3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff)
downloadpylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'tests/test_func.py')
-rw-r--r--tests/test_func.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_func.py b/tests/test_func.py
index 3e6bf36ce..492797ec2 100644
--- a/tests/test_func.py
+++ b/tests/test_func.py
@@ -18,7 +18,7 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
-"""functional/non regression tests for pylint"""
+"""Functional/non regression tests for pylint."""
import re
import sys
@@ -38,7 +38,7 @@ INFO_TEST_RGX = re.compile(r"^func_i\d\d\d\d$")
def exception_str(self, ex) -> str: # pylint: disable=unused-argument
- """function used to replace default __str__ method of exception instances
+ """Function used to replace default __str__ method of exception instances
This function is not typed because it is legacy code
"""
return f"in {ex.file}\n:: {', '.join(ex.args)}"