Skip to content

Commit 15227b3

Browse files
committed
TST: align longtable test with the recent changes
Test for longtable with shorcaption was changed to reflect the recent changes on master branch. The changes in longtable environment were introduced recently, see GH pandas-dev#34360.
1 parent ddec116 commit 15227b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/io/formats/test_to_latex.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,11 @@ def test_to_latex_longtable_caption_label(self):
700700
\toprule
701701
{} & a & b \\
702702
\midrule
703+
\endfirsthead
704+
\caption[]{a table in a \texttt{longtable} environment} \\
705+
\toprule
706+
{} & a & b \\
707+
\midrule
703708
\endhead
704709
\midrule
705710
\multicolumn{3}{r}{{Continued on next page}} \\

0 commit comments

Comments
 (0)