mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #6652: Run tests with wrong latex_documents setting
This commit is contained in:
parent
804e1c919e
commit
a750371641
@ -98,7 +98,7 @@ def skip_if_stylefiles_notfound(testfunc):
|
||||
@pytest.mark.sphinx('latex')
|
||||
def test_build_latex_doc(app, status, warning, engine, docclass):
|
||||
app.config.latex_engine = engine
|
||||
app.config.latex_documents[0] = app.config.latex_documents[0][:4] + (docclass,)
|
||||
app.config.latex_documents = [app.config.latex_documents[0][:4] + (docclass,)]
|
||||
app.builder.init_context()
|
||||
|
||||
LaTeXTranslator.ignore_missing_images = True
|
||||
|
Loading…
Reference in New Issue
Block a user