.read_text() -> .read_text(encoding='utf8')

This commit is contained in:
Adam Turner
2022-04-27 03:04:19 +01:00
parent 8866adeacf
commit 24e3b7c8c8
42 changed files with 363 additions and 363 deletions

View File

@@ -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