Update tests after 'stable' merge (refs: #3497)

This commit is contained in:
jfbu 2017-03-03 10:00:56 +01:00
parent a7afad3952
commit 33bf5410f6

View File

@ -919,13 +919,13 @@ def test_latex_table_longtable(app, status, warning):
'\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n' '\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n'
'\\hline\n\\endfirsthead' in table) '\\hline\n\\endfirsthead' in table)
assert ('\\multicolumn{2}{c}%\n' assert ('\\multicolumn{2}{c}%\n'
'{{\\sphinxtablecontinued{\\tablename\\ \\thetable{} -- ' '{\\makebox[0pt]{\\sphinxtablecontinued{\\tablename\\ \\thetable{} -- '
'continued from previous page}}}\\\\\n\\hline\n' 'continued from previous page}}}\\\\\n\\hline\n'
'\\sphinxstylethead{\\relax \nheader1\n\\unskip}\\relax &' '\\sphinxstylethead{\\relax \nheader1\n\\unskip}\\relax &'
'\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n' '\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n'
'\\hline\n\\endhead' in table) '\\hline\n\\endhead' in table)
assert ('\\hline\n\\multicolumn{2}{|r|}' assert ('\\hline\n\\multicolumn{2}{|r|}'
'{{\\sphinxtablecontinued{Continued on next page}}} \\\\\n' '{\\makebox[0pt][r]{\\sphinxtablecontinued{Continued on next page}}}\\\\\n'
'\\hline\n\\endfoot\n\n\\endlastfoot' in table) '\\hline\n\\endfoot\n\n\\endlastfoot' in table)
assert ('\ncell1-1\n&\ncell1-2\n\\\\' in table) assert ('\ncell1-1\n&\ncell1-2\n\\\\' in table)
assert ('\\hline\ncell2-1\n&\ncell2-2\n\\\\' in table) assert ('\\hline\ncell2-1\n&\ncell2-2\n\\\\' in table)