Skip to content

Commit

Permalink
MAINT: Remove write to .txt file in to_latex test
Browse files Browse the repository at this point in the history
A vestige of pandas-devgh-17960.  Should have been removed before merge.
  • Loading branch information
gfyoung committed Dec 15, 2017
1 parent fe900cb commit 0303d0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pandas/tests/io/formats/test_to_latex.py
Expand Up @@ -400,7 +400,6 @@ def test_to_latex_longtable(self, frame):
1 & 2 & b2 \\
\end{longtable}
"""
open("expected.txt", "w").write(withindex_result)
assert withindex_result == withindex_expected

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

0 comments on commit 0303d0d

Please sign in to comment.