(app: SphinxTestApp)
| 708 | |
| 709 | @pytest.mark.sphinx('dummy', testroot='keep_warnings') |
| 710 | def 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( |
nothing calls this directly
no test coverage detected
searching dependent graphs…