Skip to content

Commit 0b1e4d8

Browse files
committed
TST: Clean up DataFrame.to_csv compression tests
1 parent 190da10 commit 0b1e4d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/tests/frame/test_to_csv.py

-1
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@ def test_to_csv_compression(self, compression):
949949

950950
f = tm.decompress_file(filename, compression)
951951
assert_frame_equal(df, read_csv(f, index_col=0))
952-
f.close()
953952

954953
def test_to_csv_compression_value_error(self):
955954
# GH7615

0 commit comments

Comments
 (0)