Skip to content

Commit 0303d0d

Browse files
authored
MAINT: Remove write to .txt file in to_latex test
A vestige of gh-17960. Should have been removed before merge.
1 parent fe900cb commit 0303d0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/tests/io/formats/test_to_latex.py

-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ def test_to_latex_longtable(self, frame):
400400
1 & 2 & b2 \\
401401
\end{longtable}
402402
"""
403-
open("expected.txt", "w").write(withindex_result)
404403
assert withindex_result == withindex_expected
405404

406405
withoutindex_result = df.to_latex(index=False, longtable=True)

0 commit comments

Comments
 (0)