mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user