diff options
Diffstat (limited to 'tests/test_directive_only.py')
-rw-r--r-- | tests/test_directive_only.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_directive_only.py b/tests/test_directive_only.py index def064c5a..30b569a12 100644 --- a/tests/test_directive_only.py +++ b/tests/test_directive_only.py @@ -13,11 +13,10 @@ import re from docutils import nodes from sphinx.util.nodes import process_only_nodes +import pytest -from util import with_app - -@with_app('text', testroot='directive-only') +@pytest.mark.sphinx('text', testroot='directive-only') def test_sectioning(app, status, warning): def getsects(section): |