summaryrefslogtreecommitdiff
path: root/tests/test_ext_githubpages.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_githubpages.py')
-rw-r--r--tests/test_ext_githubpages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py
index 8a8004347..41dbe4f60 100644
--- a/tests/test_ext_githubpages.py
+++ b/tests/test_ext_githubpages.py
@@ -31,4 +31,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').text() == 'sphinx-doc.org'
+ assert (app.outdir / 'CNAME').read_text() == 'sphinx-doc.org'