summaryrefslogtreecommitdiff
path: root/tests/checkers/unittest_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkers/unittest_utils.py')
-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