Skip to content

Commit 671ad41

Browse files
committed
BUG: read_csv throws UnicodeDecodeError with unicode aliases
fixed pep8 formatting issue see issue pandas-dev#13549
1 parent 6725536 commit 671ad41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/tests/parser/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1474,8 +1474,8 @@ def test_read_csv_utf_aliases(self):
14741474
# see gh issue 13549
14751475
path = 'test.csv'
14761476
expected = DataFrame({'A': [0, 1], 'B': [2, 3],
1477-
'multibyte_test': ['testing123', 'bananabis'],
1478-
'mb_nums': [154.868, 457.8798]})
1477+
'multibyte_test': ['testing123', 'bananabis'],
1478+
'mb_nums': [154.868, 457.8798]})
14791479

14801480
for byte in [8, 16]:
14811481
expected.to_csv(path, encoding='utf-' + str(byte), index=False)

0 commit comments

Comments
 (0)