MCPcopy
hub / github.com/sphinx-doc/sphinx / test_keep_warnings_is_True

Function test_keep_warnings_is_True

tests/test_markup/test_markup.py:710–715  ·  view source on GitHub ↗
(app: SphinxTestApp)

Source from the content-addressed store, hash-verified

708
709@pytest.mark.sphinx('dummy', testroot='keep_warnings')
710def test_keep_warnings_is_True(app: SphinxTestApp) -> None:
711 app.build(force_all=True)
712 doctree = app.env.get_doctree('index')
713 assert isinstance(doctree[0], nodes.section)
714 assert len(doctree[0]) == 2
715 assert_node(extract_node(doctree, 0, 1), nodes.system_message)
716
717
718@pytest.mark.sphinx(

Callers

nothing calls this directly

Calls 4

assert_nodeFunction · 0.90
extract_nodeFunction · 0.90
get_doctreeMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…