From 0a42d91e7ecae70f8bddb68b7f95e26819880963 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 12 Aug 2023 06:40:55 +0100 Subject: [PATCH] Fix ``test_{html,latex}_warnings`` --- tests/test_build_html.py | 2 +- tests/test_build_latex.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_build_html.py b/tests/test_build_html.py index e467c1de7..51e6bd4d3 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -37,7 +37,7 @@ HTML_WARNINGS = ENV_WARNINGS + """\ %(root)s/index.rst:\\d+: WARNING: unknown option: '&option' %(root)s/index.rst:\\d+: WARNING: citation not found: missing %(root)s/index.rst:\\d+: WARNING: a suitable image for html builder not found: foo.\\* -%(root)s/index.rst:\\d+: WARNING: Could not lex literal_block .* as "c". Highlighting skipped. +%(root)s/index.rst:\\d+: WARNING: Lexing literal_block ".*" as "c" resulted in an error at token: ".*". Retrying in relaxed mode. """ diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index e6bd97942..27088be08 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -37,7 +37,7 @@ LATEX_WARNINGS = ENV_WARNINGS + """\ %(root)s/index.rst:\\d+: WARNING: unknown option: '&option' %(root)s/index.rst:\\d+: WARNING: citation not found: missing %(root)s/index.rst:\\d+: WARNING: a suitable image for latex builder not found: foo.\\* -%(root)s/index.rst:\\d+: WARNING: Could not lex literal_block .* as "c". Highlighting skipped. +%(root)s/index.rst:\\d+: WARNING: Lexing literal_block ".*" as "c" resulted in an error at token: ".*". Retrying in relaxed mode. """