summaryrefslogtreecommitdiff
path: root/pylint/testutils
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-11-21 15:43:04 +0100
committerGitHub <noreply@github.com>2021-11-21 15:43:04 +0100
commit0f6a55c7f6f481acdcf57fbe68d3da80d77b9d89 (patch)
tree2efc3ba8e7f34d8e355a7eb679875db1ab47aa69 /pylint/testutils
parent825dce1be9521a6a2f8b0e1e501d0d258ebb66bb (diff)
downloadpylint-git-0f6a55c7f6f481acdcf57fbe68d3da80d77b9d89.tar.gz
Revert "Update functional test updater to print actual string (#5351)" (#5352)
This reverts commit 825dce1be9521a6a2f8b0e1e501d0d258ebb66bb.
Diffstat (limited to 'pylint/testutils')
-rw-r--r--pylint/testutils/output_line.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/pylint/testutils/output_line.py b/pylint/testutils/output_line.py
index 4e08f1a7d..9e5a071d2 100644
--- a/pylint/testutils/output_line.py
+++ b/pylint/testutils/output_line.py
@@ -114,11 +114,4 @@ class OutputLine(NamedTuple):
raise MalformedOutputLineException(row, e) from e
def to_csv(self) -> Tuple[str, str, str, str, str, str]:
- return (
- str(self.symbol),
- str(self.lineno),
- str(self.column),
- str(self.object),
- str(self.msg),
- str(self.confidence),
- )
+ return tuple(str(i) for i in self) # type: ignore[return-value] # pylint: disable=not-an-iterable