diff options
Diffstat (limited to 'tests/test_project.py')
-rw-r--r-- | tests/test_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_project.py b/tests/test_project.py index 40db85ef3..d4e0a0d8c 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -65,7 +65,7 @@ def test_project_doc2path(app): assert project.doc2path('foo') == (app.srcdir / 'foo.rst') # matched source_suffix is used if exists - (app.srcdir / 'foo.txt').write_text('') + (app.srcdir / 'foo.txt').write_text('', encoding='utf8') assert project.doc2path('foo') == (app.srcdir / 'foo.txt') # absolute path |