summaryrefslogtreecommitdiff
path: root/tests/checkers
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-06 11:15:18 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-06 19:52:35 +0100
commit20fe9ac69efc6648e66f6e584ee86c0a19412d97 (patch)
treeb7d00f1f2eb7beab35a0dfbe042fe4f99a64d544 /tests/checkers
parentd4d1313417879534462861be2ecf831a57f1a7a6 (diff)
downloadpylint-git-20fe9ac69efc6648e66f6e584ee86c0a19412d97.tar.gz
[ruff] Fix E741 Ambiguous variable name: 'l'
Diffstat (limited to 'tests/checkers')
-rw-r--r--tests/checkers/unittest_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkers/unittest_utils.py b/tests/checkers/unittest_utils.py
index 08b9c188d..2f0bf0e08 100644
--- a/tests/checkers/unittest_utils.py
+++ b/tests/checkers/unittest_utils.py
@@ -164,7 +164,7 @@ def test_parse_format_method_string() -> None:
]
for fmt, count in samples:
keys, num_args, pos_args = utils.parse_format_method_string(fmt)
- keyword_args = len({k for k, l in keys if not isinstance(k, int)})
+ keyword_args = len({k for k, _ in keys if not isinstance(k, int)})
assert keyword_args + num_args + pos_args == count