Skip to content

Commit

Permalink
test: Fix test resource encoding for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Pepe committed Dec 14, 2023
1 parent 487c126 commit c826f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def test_summary_printing(datetime_mock: MagicMock, capsys: CaptureFixture, reso
summary.print()
stdout = capsys.readouterr().out

assert stdout == (resource_dir / "example_summary_output.txt").read_text()
assert stdout == (resource_dir / "example_summary_output.txt").read_text(encoding="utf-8")

0 comments on commit c826f02

Please sign in to comment.