Skip to content

Commit

Permalink
UTF-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Hông-Lan Botterman committed Oct 7, 2024
1 parent 3b84514 commit d2b157a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def pytest_sessionstart(session: Any) -> None:
for rst_file in RST_FILES_TO_TEST:
if rst_file.exists():
logging.info(f"Testing Python code in {rst_file}.")
with open(rst_file) as f:
with open(rst_file, encoding="utf-8") as f:
content = f.read()
code_blocks = extract_python_blocks(content)

Expand Down

0 comments on commit d2b157a

Please sign in to comment.