Skip to content

Commit b571c14

Browse files
committed
fix tests on windows
1 parent 54f4655 commit b571c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_flaky_badge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def render_html(reporter):
4747
reporter.generate_html_report()
4848
from pathlib import Path
4949

50-
return Path(reporter.output_dir, "report.html").read_text()
50+
return Path(reporter.output_dir, "report.html").read_text(encoding="utf-8")
5151

5252

5353
class TestFlakyBadge:

0 commit comments

Comments
 (0)