summaryrefslogtreecommitdiff
path: root/tests/test_setup_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_setup_command.py')
-rw-r--r--tests/test_setup_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_setup_command.py b/tests/test_setup_command.py
index 054912feb..bfb2f2d96 100644
--- a/tests/test_setup_command.py
+++ b/tests/test_setup_command.py
@@ -86,7 +86,7 @@ def nonascii_srcdir(request, setup_command):
"""))
root_doc = srcdir / 'index.txt'
- root_doc.write_bytes((root_doc.read_text() + dedent("""
+ root_doc.write_bytes((root_doc.read_text(encoding='utf8') + dedent("""
.. toctree::
%(mb_name)s/%(mb_name)s