Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes committed Jan 13, 2025
1 parent 3954c58 commit 5a45f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skrub/_reporting/_table_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def write_html(self, file):
if (encoding := getattr(file, "encoding", None)) is not None:
try:
encoding_name = codecs.lookup(encoding).name
except LookupError:
except LookupError: # pragma: no cover
encoding_name = None
if encoding_name != "utf-8":
raise ValueError(
Expand Down

0 comments on commit 5a45f9c

Please sign in to comment.