Skip to content

Commit e379e9f

Browse files
committed
CLN: remove unnecessary csv write line
1 parent 1fa91b9 commit e379e9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/io/tests/parser/common.py

-1
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,6 @@ def test_read_csv_utf_aliases(self):
14761476
# see gh issue 13549
14771477
expected = pd.DataFrame({'mb_num': [4.8], 'multibyte': ['test']})
14781478
for byte in [8, 16]:
1479-
expected.to_csv(path, encoding='utf-' + str(byte), index=False)
14801479
for fmt in ['utf-{0}', 'utf_{0}', 'UTF-{0}', 'UTF_{0}']:
14811480
encoding = fmt.format(byte)
14821481
data = 'mb_num,multibyte\n4.8,test'.encode(encoding)

0 commit comments

Comments
 (0)