summaryrefslogtreecommitdiff
path: root/tests/test_build_changes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_changes.py')
-rw-r--r--tests/test_build_changes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build_changes.py b/tests/test_build_changes.py
index 5adaa5777..2e87fe0bf 100644
--- a/tests/test_build_changes.py
+++ b/tests/test_build_changes.py
@@ -17,7 +17,7 @@ def test_build(app):
app.build()
# TODO: Use better checking of html content
- htmltext = (app.outdir / 'changes.html').text()
+ htmltext = (app.outdir / 'changes.html').read_text()
assert 'New in version 0.6: Some funny stuff.' in htmltext
assert 'Changed in version 0.6: Even more funny stuff.' in htmltext
assert 'Deprecated since version 0.6: Boring stuff.' in htmltext