Skip to content

Commit d2b157a

Browse files
author
Hông-Lan Botterman
committed
UTF-8 encoding
1 parent 3b84514 commit d2b157a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def pytest_sessionstart(session: Any) -> None:
8787
for rst_file in RST_FILES_TO_TEST:
8888
if rst_file.exists():
8989
logging.info(f"Testing Python code in {rst_file}.")
90-
with open(rst_file) as f:
90+
with open(rst_file, encoding="utf-8") as f:
9191
content = f.read()
9292
code_blocks = extract_python_blocks(content)
9393

0 commit comments

Comments
 (0)