summaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index de73cb6d9..9dcf78165 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -45,7 +45,7 @@ def nonascii_srcdir(request, rootdir, sphinx_test_tempdir):
"""))
master_doc = srcdir / 'index.txt'
- master_doc.write_text(master_doc.text() + dedent("""
+ master_doc.write_text(master_doc.read_text() + dedent("""
.. toctree::
%(test_name)s/%(test_name)s