From a75037164116f5851209665a543fb09c156349b7 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Wed, 21 Aug 2019 00:06:06 +0900 Subject: [PATCH] Fix #6652: Run tests with wrong latex_documents setting --- tests/test_build_latex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 67491ddc9..a6e891ec6 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -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