Skip to content

Commit 803a121

Browse files
authored
🧪 Make read_fixture_file always read UTF-8 (#57)
1 parent d14f915 commit 803a121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown_it/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, *args, **kwargs):
1313

1414

1515
def read_fixture_file(path):
16-
text = Path(path).read_text()
16+
text = Path(path).read_text(encoding="utf-8")
1717
tests = []
1818
section = 0
1919
last_pos = 0

0 commit comments

Comments
 (0)