Skip to content

Commit

Permalink
Fix existing issue with mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored and jacobtylerwalls committed Jan 3, 2025
1 parent c21276f commit 0d5439b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylint/testutils/functional/lint_module_output_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class TestDialect(csv.excel):
delimiter = ":"
lineterminator = "\n"

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

def _check_output_text(
self,
Expand Down

0 comments on commit 0d5439b

Please sign in to comment.