mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix #6545. Strip doctests for doctest_node blocks.
This commit is contained in:
@@ -18,6 +18,7 @@ def test_trim_doctest_flags_html(app, status, warning):
|
||||
assert 'BAR' in result
|
||||
assert 'BAZ' not in result
|
||||
assert 'QUX' not in result
|
||||
assert 'QUUX' not in result
|
||||
|
||||
|
||||
@pytest.mark.sphinx('latex', testroot='trim_doctest_flags')
|
||||
@@ -29,3 +30,4 @@ def test_trim_doctest_flags_latex(app, status, warning):
|
||||
assert 'BAR' in result
|
||||
assert 'BAZ' not in result
|
||||
assert 'QUX' not in result
|
||||
assert 'QUUX' not in result
|
||||
|
||||
Reference in New Issue
Block a user