diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 941f88086..41d76777f 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -919,13 +919,13 @@ def test_latex_table_longtable(app, status, warning): '\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n' '\\hline\n\\endfirsthead' in table) assert ('\\multicolumn{2}{c}%\n' - '{{\\tablecontinued{\\tablename\\ \\thetable{} -- ' + '{{\\sphinxtablecontinued{\\tablename\\ \\thetable{} -- ' 'continued from previous page}}} \\\\\n\\hline\n' '\\sphinxstylethead{\\relax \nheader1\n\\unskip}\\relax &' '\\sphinxstylethead{\\relax \nheader2\n\\unskip}\\relax \\\\\n' '\\hline\n\\endhead' in table) assert ('\\hline\n\\multicolumn{2}{|r|}' - '{{\\tablecontinued{Continued on next page}}} \\\\\n' + '{{\\sphinxtablecontinued{Continued on next page}}} \\\\\n' '\\hline\n\\endfoot\n\n\\endlastfoot' in table) assert ('\ncell1-1\n&\ncell1-2\n\\\\' in table) assert ('\\hline\ncell2-1\n&\ncell2-2\n\\\\' in table)