mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
pytest: remove deprecated with_app decorator functions
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
# adapted from an example of bibliographic metadata at
|
||||
# http://docutils.sourceforge.net/docs/user/rst/demo.txt
|
||||
|
||||
from util import with_app
|
||||
import pytest
|
||||
|
||||
|
||||
@with_app('pseudoxml')
|
||||
@pytest.mark.sphinx('pseudoxml')
|
||||
def test_docinfo(app, status, warning):
|
||||
"""
|
||||
Inspect the 'docinfo' metadata stored in the first node of the document.
|
||||
|
||||
Reference in New Issue
Block a user