diff options
Diffstat (limited to 'tests/test_ext_doctest.py')
-rw-r--r-- | tests/test_ext_doctest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_ext_doctest.py b/tests/test_ext_doctest.py index d2a2d90ce..6b17f2ed7 100644 --- a/tests/test_ext_doctest.py +++ b/tests/test_ext_doctest.py @@ -8,13 +8,12 @@ :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ - -from util import with_app +import pytest cleanup_called = 0 -@with_app(buildername='doctest', testroot='doctest') +@pytest.mark.sphinx('doctest', testroot='doctest') def test_build(app, status, warning): global cleanup_called cleanup_called = 0 |