Fix flake8 violation

This commit is contained in:
Takeshi KOMIYA
2017-08-10 10:36:19 +09:00
parent 13be8e03ba
commit c96b5b67b1

View File

@@ -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,