diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index a0366f1f1..c52a8c596 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -27,9 +27,9 @@ from test_build_html import ENV_WARNINGS LATEX_ENGINES = ['pdflatex', 'lualatex', 'xelatex'] DOCCLASSES = ['howto', 'manual'] -STYLEFILES = ['article.sty', 'fancyhdr.sty', 'titlesec.sty', 'amsmath.sty', - 'framed.sty', 'color.sty', 'fancyvrb.sty', 'fncychap.sty', - 'threeparttable.sty', 'geometry.sty'] +STYLEFILES = ['article.cls', 'fancyhdr.sty', 'titlesec.sty', 'amsmath.sty', + 'framed.sty', 'color.sty', 'fancyvrb.sty', 'threeparttable.sty', + 'fncychap.sty', 'geometry.sty', 'kvoptions.sty', 'hyperref.sty'] LATEX_WARNINGS = ENV_WARNINGS + """\ %(root)s/index.rst:\\d+: WARNING: unknown option: &option @@ -61,7 +61,7 @@ def kpsetest(*filenames): def test_latex(): if kpsetest(*STYLEFILES) is False: - raise SkipTest('not running latex, the required styles doesn\'t seem to be installed') + raise SkipTest('not running latex, the required styles do not seem to be installed') for engine, docclass in product(LATEX_ENGINES, DOCCLASSES): yield build_latex_doc, engine, docclass