diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-04-27 03:04:19 +0100 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-04-27 03:04:19 +0100 |
commit | 24e3b7c8c8c0a2d01ec2d2d4d04105bcb565e440 (patch) | |
tree | 72862fd42abc102ff99ac35687d4cc7af17b0c2d /tests/test_ext_githubpages.py | |
parent | 8866adeacfb045c97302cc9c7e3b60dec5ca38fd (diff) | |
download | sphinx-git-24e3b7c8c8c0a2d01ec2d2d4d04105bcb565e440.tar.gz |
`.read_text()` -> `.read_text(encoding='utf8')`
Diffstat (limited to 'tests/test_ext_githubpages.py')
-rw-r--r-- | tests/test_ext_githubpages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py index 445719e12..8e4153752 100644 --- a/tests/test_ext_githubpages.py +++ b/tests/test_ext_githubpages.py @@ -23,4 +23,4 @@ def test_no_cname_for_github_io_domain(app, status, warning): def test_cname_for_custom_domain(app, status, warning): app.builder.build_all() assert (app.outdir / '.nojekyll').exists() - assert (app.outdir / 'CNAME').read_text() == 'sphinx-doc.org' + assert (app.outdir / 'CNAME').read_text(encoding='utf8') == 'sphinx-doc.org' |