diff options
Diffstat (limited to 'tests/test_build_gettext.py')
-rw-r--r-- | tests/test_build_gettext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py index 18731855f..ec09eaf21 100644 --- a/tests/test_build_gettext.py +++ b/tests/test_build_gettext.py @@ -175,8 +175,8 @@ def test_gettext_template_msgid_order_in_sphinxpot(app): result = (app.outdir / 'sphinx.pot').text(encoding='utf-8') assert re.search( ('msgid "Template 1".*' - 'msgid "This is Template 1\.".*' + 'msgid "This is Template 1\\.".*' 'msgid "Template 2".*' - 'msgid "This is Template 2\.".*'), + 'msgid "This is Template 2\\.".*'), result, flags=re.S) |