Skip to content

Commit 0d5439b

Browse files
Pierre-Sassoulasjacobtylerwalls
authored andcommitted
Fix existing issue with mypy
1 parent c21276f commit 0d5439b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pylint/testutils/functional/lint_module_output_update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ class TestDialect(csv.excel):
2222
delimiter = ":"
2323
lineterminator = "\n"
2424

25-
csv.register_dialect("test", TestDialect)
25+
# TestDialect inherit from csv.excel, which inherit from Dialect
26+
# probably something wrong in csv typing
27+
csv.register_dialect("test", TestDialect) # type: ignore[arg-type]
2628

2729
def _check_output_text(
2830
self,

0 commit comments

Comments
 (0)