diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-16 13:37:47 -0800 |
|---|---|---|
| committer | jfbu <jfbu@free.fr> | 2018-12-17 11:11:41 +0100 |
| commit | e9c87b3d13c192a9b6a82d9ce0c6572f85e85743 (patch) | |
| tree | d893aae9fcf15379d7349dd7a35d5c7ecbc54582 | |
| parent | bf3bc32184e152f5f4f795d556e35c3f8112671e (diff) | |
| download | sphinx-git-e9c87b3d13c192a9b6a82d9ce0c6572f85e85743.tar.gz | |
Fix invalid escape sequence in test_directive_code.py
Fixes error when running tests:
tests/test_directive_code.py:359
sphinx/tests/test_directive_code.py:359: DeprecationWarning: invalid escape sequence \s
includes = '\\end{sphinxVerbatim}\n\sphinxresetverbatimhllines\n'
| -rw-r--r-- | tests/test_directive_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py index ba8a60e1d..3592ebe0a 100644 --- a/tests/test_directive_code.py +++ b/tests/test_directive_code.py @@ -356,7 +356,7 @@ 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' + includes = '\\end{sphinxVerbatim}\n\\sphinxresetverbatimhllines\n' assert includes in latex |
