diff options
Diffstat (limited to 'tests/test_toctree.py')
| -rw-r--r-- | tests/test_toctree.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_toctree.py b/tests/test_toctree.py index 7f6f4c6d9..5a8904e61 100644 --- a/tests/test_toctree.py +++ b/tests/test_toctree.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_toctree ~~~~~~~~~~~~ @@ -44,5 +43,5 @@ def test_numbered_toctree(app, status, warning): # give argument to :numbered: option index = (app.srcdir / 'index.rst').text() index = re.sub(':numbered:.*', ':numbered: 1', index) - (app.srcdir / 'index.rst').write_text(index, encoding='utf-8') + (app.srcdir / 'index.rst').write_text(index) app.builder.build_all() |
