mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
test: Give freshenv=True to test_docutilsconf for windows environment
This commit is contained in:
parent
a844ce0f2f
commit
47058cd175
@ -15,7 +15,7 @@ from sphinx.testing.util import assert_node
|
|||||||
from sphinx.util.docutils import patch_docutils
|
from sphinx.util.docutils import patch_docutils
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.sphinx('dummy', testroot='docutilsconf')
|
@pytest.mark.sphinx('dummy', testroot='docutilsconf', freshenv=True)
|
||||||
def test_html_with_default_docutilsconf(app, status, warning):
|
def test_html_with_default_docutilsconf(app, status, warning):
|
||||||
with patch_docutils(app.confdir):
|
with patch_docutils(app.confdir):
|
||||||
app.build()
|
app.build()
|
||||||
@ -25,7 +25,7 @@ def test_html_with_default_docutilsconf(app, status, warning):
|
|||||||
[nodes.footnote_reference, "1"])])
|
[nodes.footnote_reference, "1"])])
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.sphinx('dummy', testroot='docutilsconf',
|
@pytest.mark.sphinx('dummy', testroot='docutilsconf', freshenv=True,
|
||||||
docutilsconf=('[restructuredtext parser]\n'
|
docutilsconf=('[restructuredtext parser]\n'
|
||||||
'trim_footnote_reference_space: true\n'))
|
'trim_footnote_reference_space: true\n'))
|
||||||
def test_html_with_docutilsconf(app, status, warning):
|
def test_html_with_docutilsconf(app, status, warning):
|
||||||
|
Loading…
Reference in New Issue
Block a user