mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Skip tests for inheritance_diagram if graphviz not found
This commit is contained in:
parent
d86ea47b52
commit
ceedbb4d51
@ -11,9 +11,11 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
from util import with_app
|
from util import with_app
|
||||||
|
from test_ext_graphviz import skip_if_graphviz_not_found
|
||||||
|
|
||||||
|
|
||||||
@with_app('html', testroot='ext-inheritance_diagram')
|
@with_app('html', testroot='ext-inheritance_diagram')
|
||||||
|
@skip_if_graphviz_not_found
|
||||||
def test_inheritance_diagram_html(app, status, warning):
|
def test_inheritance_diagram_html(app, status, warning):
|
||||||
app.builder.build_all()
|
app.builder.build_all()
|
||||||
|
|
||||||
@ -28,6 +30,7 @@ def test_inheritance_diagram_html(app, status, warning):
|
|||||||
|
|
||||||
|
|
||||||
@with_app('latex', testroot='ext-inheritance_diagram')
|
@with_app('latex', testroot='ext-inheritance_diagram')
|
||||||
|
@skip_if_graphviz_not_found
|
||||||
def test_inheritance_diagram_latex(app, status, warning):
|
def test_inheritance_diagram_latex(app, status, warning):
|
||||||
app.builder.build_all()
|
app.builder.build_all()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user