We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b84514 commit d2b157aCopy full SHA for d2b157a
tests/conftest.py
@@ -87,7 +87,7 @@ def pytest_sessionstart(session: Any) -> None:
87
for rst_file in RST_FILES_TO_TEST:
88
if rst_file.exists():
89
logging.info(f"Testing Python code in {rst_file}.")
90
- with open(rst_file) as f:
+ with open(rst_file, encoding="utf-8") as f:
91
content = f.read()
92
code_blocks = extract_python_blocks(content)
93
0 commit comments