summaryrefslogtreecommitdiff
path: root/tests/test_ext_ifconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_ifconfig.py')
-rw-r--r--tests/test_ext_ifconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_ifconfig.py b/tests/test_ext_ifconfig.py
index abce1d025..232ddf0d8 100644
--- a/tests/test_ext_ifconfig.py
+++ b/tests/test_ext_ifconfig.py
@@ -14,6 +14,6 @@ import pytest
@pytest.mark.sphinx('text', testroot='ext-ifconfig')
def test_ifconfig(app, status, warning):
app.builder.build_all()
- result = (app.outdir / 'index.txt').text()
+ result = (app.outdir / 'index.txt').read_text()
assert 'spam' in result
assert 'ham' not in result