diff options
Diffstat (limited to 'tests/test_toctree.py')
-rw-r--r-- | tests/test_toctree.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_toctree.py b/tests/test_toctree.py index 64cb8cfd6..441479882 100644 --- a/tests/test_toctree.py +++ b/tests/test_toctree.py @@ -8,11 +8,9 @@ :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ +import pytest -from util import with_app - - -@with_app(testroot='toctree-glob') +@pytest.mark.sphinx(testroot='toctree-glob') def test_relations(app, status, warning): app.builder.build_all() assert app.builder.relations['index'] == [None, None, 'foo'] |