We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64890bf commit 2c90601Copy full SHA for 2c90601
pandas/tests/io/formats/test_to_csv.py
@@ -498,4 +498,4 @@ def test_to_csv_write_to_open_file_with_newline_py2(self):
498
f.write('manual header\n')
499
df.to_csv(f, header=None, index=None)
500
with open(path, 'rb') as f:
501
- assert f.read() == bytes(expected, 'utf-8')
+ assert f.read() == expected
0 commit comments