summaryrefslogtreecommitdiff
path: root/tests/test_ext_autodoc_configs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_autodoc_configs.py')
-rw-r--r--tests/test_ext_autodoc_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_autodoc_configs.py b/tests/test_ext_autodoc_configs.py
index bb4ad61b8..a9af8a272 100644
--- a/tests/test_ext_autodoc_configs.py
+++ b/tests/test_ext_autodoc_configs.py
@@ -544,7 +544,7 @@ def test_autodoc_typehints_none(app):
'autodoc_typehints': 'description'})
def test_autodoc_typehints_description(app):
app.build()
- context = (app.outdir / 'index.txt').text()
+ context = (app.outdir / 'index.txt').read_text()
assert ('target.typehints.incr(a, b=1)\n'
'\n'
' Parameters:\n'