diff options
Diffstat (limited to 'tests/test_build_latex.py')
-rw-r--r-- | tests/test_build_latex.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 509a19d4e..18e1063fb 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -27,15 +27,13 @@ LATEX_WARNINGS = ENV_WARNINGS + """\ %(root)s/markup.txt:158: WARNING: unknown option: &option %(root)s/footnote.txt:60: WARNING: citation not found: missing %(root)s/images.txt:20: WARNING: no matching candidate for image URI u'foo.\\*' -WARNING: invalid pair index entry u'' -WARNING: invalid pair index entry u'keyword; ' """ if PY3: LATEX_WARNINGS = remove_unicode_literals(LATEX_WARNINGS) -@with_app(buildername='latex') +@with_app(buildername='latex', freshenv=True) # use freshenv to check warnings def test_latex(app, status, warning): LaTeXTranslator.ignore_missing_images = True app.builder.build_all() @@ -94,7 +92,7 @@ def test_latex(app, status, warning): os.chdir(cwd) -@with_app(buildername='latex', +@with_app(buildername='latex', freshenv=True, # use freshenv to check warnings confoverrides={'latex_documents': [ ('contents', 'SphinxTests.tex', 'Sphinx Tests Documentation', 'Georg Brandl \\and someone else', 'howto'), |