Skip to content

Commit 4c65757

Browse files
committed
BUG: byte string on python 3
1 parent 3fd8f36 commit 4c65757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/tests/test_parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ def test_iteration_open_handle(self):
16641664
import itertools
16651665

16661666
with open('__foo__.txt', 'wb') as f:
1667-
f.write('AAA\nBBB\nCCC\nDDD\nEEE\nFFF\nGGG')
1667+
f.write(b'AAA\nBBB\nCCC\nDDD\nEEE\nFFF\nGGG')
16681668

16691669
with open('__foo__.txt', 'rb') as f:
16701670
for line in f:

0 commit comments

Comments
 (0)