mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix flake8 violation
This commit is contained in:
@@ -275,7 +275,8 @@ def test_get_toctree_for_collapse(app):
|
|||||||
@pytest.mark.test_params(shared_result='test_environment_toctree_basic')
|
@pytest.mark.test_params(shared_result='test_environment_toctree_basic')
|
||||||
def test_get_toctree_for_maxdepth(app):
|
def test_get_toctree_for_maxdepth(app):
|
||||||
app.build()
|
app.build()
|
||||||
toctree = TocTree(app.env).get_toctree_for('index', app.builder, collapse=False, maxdepth=3)
|
toctree = TocTree(app.env).get_toctree_for('index', app.builder,
|
||||||
|
collapse=False, maxdepth=3)
|
||||||
assert_node(toctree,
|
assert_node(toctree,
|
||||||
[compact_paragraph, ([caption, "Table of Contents"],
|
[compact_paragraph, ([caption, "Table of Contents"],
|
||||||
bullet_list,
|
bullet_list,
|
||||||
|
|||||||
Reference in New Issue
Block a user