summaryrefslogtreecommitdiff
path: root/tests/test_ext_autodoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-29 21:33:53 +0900
committerGitHub <noreply@github.com>2018-09-29 21:33:53 +0900
commitc98a0280044253b3658a4d7d266dcfe390a838cf (patch)
treed4d500f2dad3bbdab82820f1f4bb2ae5bc97a6ff /tests/test_ext_autodoc.py
parentd2c3d54bb9a46c5e7a0d14c3345e489d7592de9a (diff)
parent973c3ffa25f6f14e53382f7a45ffbeee9d252b3c (diff)
downloadsphinx-git-c98a0280044253b3658a4d7d266dcfe390a838cf.tar.gz
Merge pull request #5385 from tk0miya/change_master_doc_to_index
The default setting for master_doc is changed to 'index'
Diffstat (limited to 'tests/test_ext_autodoc.py')
-rw-r--r--tests/test_ext_autodoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py
index 44470771d..50716f8e6 100644
--- a/tests/test_ext_autodoc.py
+++ b/tests/test_ext_autodoc.py
@@ -20,7 +20,7 @@ from sphinx import addnodes
def test_autodoc(app, status, warning):
app.builder.build_all()
- content = pickle.loads((app.doctreedir / 'contents.doctree').bytes())
+ content = pickle.loads((app.doctreedir / 'index.doctree').bytes())
assert isinstance(content[3], addnodes.desc)
assert content[3][0].astext() == 'autodoc_dummy_module.test'
assert content[3][1].astext() == 'Dummy function using dummy.*'