summaryrefslogtreecommitdiff
path: root/tests/test_directive_code.py
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2018-12-16 18:34:05 +0100
committerjfbu <jfbu@free.fr>2018-12-16 18:34:05 +0100
commit30ec4b6bba3cb256b700ca1d7438ddd01b3e948c (patch)
tree83eeba01a4accfffc5e8f878767e897642fa23b1 /tests/test_directive_code.py
parent6461ea233b393abb12a800213e03f12b0b963f3e (diff)
parent73a8b7e6581d094cc88c36cbeccab56031351d27 (diff)
downloadsphinx-git-30ec4b6bba3cb256b700ca1d7438ddd01b3e948c.tar.gz
Merge branch '1.8'
Diffstat (limited to 'tests/test_directive_code.py')
-rw-r--r--tests/test_directive_code.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py
index 3fa180e78..34e3e525c 100644
--- a/tests/test_directive_code.py
+++ b/tests/test_directive_code.py
@@ -356,6 +356,8 @@ def test_code_block_emphasize_latex(app, status, warning):
latex = (app.outdir / 'Python.tex').text(encoding='utf-8').replace('\r\n', '\n')
includes = '\\fvset{hllines={, 5, 6, 13, 14, 15, 24, 25, 26, 27,}}%\n'
assert includes in latex
+ includes = '\\end{sphinxVerbatim}\n\sphinxresetverbatimhllines\n'
+ assert includes in latex
@pytest.mark.sphinx('xml', testroot='directive-code')