Skip to content

Commit 2c90601

Browse files
committed
TST: created testcase for python2
1 parent 64890bf commit 2c90601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/formats/test_to_csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,4 @@ def test_to_csv_write_to_open_file_with_newline_py2(self):
498498
f.write('manual header\n')
499499
df.to_csv(f, header=None, index=None)
500500
with open(path, 'rb') as f:
501-
assert f.read() == bytes(expected, 'utf-8')
501+
assert f.read() == expected

0 commit comments

Comments
 (0)