tests: Fix invalid escape sequence

This fixes this warning:
tests/test_build_latex.py:958: DeprecationWarning: invalid escape sequence \s
This commit is contained in:
Dmitry Shachnev
2017-03-16 20:22:58 +03:00
parent b7cada236f
commit 1d12165a12

View File

@@ -955,7 +955,7 @@ def test_latex_table_longtable(app, status, warning):
table = tables['longtable having caption']
assert ('\\begin{longtable}{|l|l|}\n\\caption{caption for longtable\\strut}'
'\\label{\\detokenize{longtable:id1}}'
'\\\\*[\sphinxlongtablecapskipadjust]\n\\hline' in table)
'\\\\*[\\sphinxlongtablecapskipadjust]\n\\hline' in table)
# longtable having verbatim
table = tables['longtable having verbatim']