Skip to content

Commit ef6aff2

Browse files
committed
Fix the other read_text
1 parent c3aed4b commit ef6aff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_material_theme(tmp_path):
280280
# In mkdocs-material, a 'last update' should appear
281281
# in German because locale is set to 'de'
282282
index_file = testproject_path / "site/index.html"
283-
contents = index_file.read_text()
283+
contents = index_file.read_text(encoding="utf8")
284284
assert re.search(r"Letztes Update\:\s[\w].+", contents)
285285

286286

0 commit comments

Comments
 (0)