Skip to content

Commit 00cd87d

Browse files
committed
Fix for Windows
Change-Id: I1f332e81cc8a67391c3a9133e37c9a8bb1362745
1 parent 7e52b60 commit 00cd87d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mako/testing/_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _parse_cfg_file(filespec: Union[Path, str]):
5050
except FileNotFoundError as e:
5151
raise MissingConfig(f"No config file found at {filespec}") from e
5252
else:
53-
with open(filepath) as f:
53+
with open(filepath, encoding="utf-8") as f:
5454
cfg.read_file(f)
5555
return cfg
5656

0 commit comments

Comments
 (0)