Fix #7219: py:module directive generates incorrect index entry

This commit is contained in:
Takeshi KOMIYA
2020-03-29 19:36:41 +09:00
parent ce25d0080e
commit fe9473f42e
2 changed files with 3 additions and 3 deletions

View File

@@ -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)])