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 9bfc08d06..14a687ada 100644
--- a/tests/test_setup_command.py
+++ b/tests/test_setup_command.py
@@ -94,7 +94,7 @@ def nonascii_srcdir(request, setup_command):
"""))
master_doc = srcdir / 'index.txt'
- master_doc.write_bytes((master_doc.text() + dedent("""
+ master_doc.write_bytes((master_doc.read_text() + dedent("""
.. toctree::
%(mb_name)s/%(mb_name)s