summaryrefslogtreecommitdiff
path: root/tests/test_domain_py.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-29 19:36:41 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-29 19:37:21 +0900
commitfe9473f42e71db5fca3281ecd09f0a39f5683385 (patch)
tree75df1e16faa935738bc293085d52d748b24727fe /tests/test_domain_py.py
parentce25d0080ea6090bf14857049516e91419a64ace (diff)
downloadsphinx-git-fe9473f42e71db5fca3281ecd09f0a39f5683385.tar.gz
Fix #7219: py:module directive generates incorrect index entry
Diffstat (limited to 'tests/test_domain_py.py')
-rw-r--r--tests/test_domain_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py
index f3f8bb77d..0d7a65edb 100644
--- a/tests/test_domain_py.py
+++ b/tests/test_domain_py.py
@@ -481,7 +481,7 @@ def test_pyfunction(app):
assert_node(doctree[0], addnodes.index,
entries=[('pair', 'built-in function; func1()', 'func1', '', None)])
assert_node(doctree[3], addnodes.index,
- entries=[('single', 'example (module)', 'module-example', '', None)])
+ entries=[('pair', 'module; example', 'module-example', '', None)])
assert_node(doctree[4], addnodes.index,
entries=[('single', 'func2() (in module example)', 'example.func2', '', None)])