We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c65757 commit f171d2eCopy full SHA for f171d2e
pandas/io/tests/test_parsers.py
@@ -1,6 +1,6 @@
1
# pylint: disable=E1101
2
3
-from pandas.util.py3compat import StringIO, BytesIO
+from pandas.util.py3compat import StringIO, BytesIO, PY3
4
from datetime import datetime
5
from os.path import split as psplit
6
import csv
@@ -1663,8 +1663,11 @@ def test_unicode_encoding(self):
1663
def test_iteration_open_handle(self):
1664
import itertools
1665
1666
+ if PY3:
1667
+ raise nose.SkipTest
1668
+
1669
with open('__foo__.txt', 'wb') as f:
- f.write(b'AAA\nBBB\nCCC\nDDD\nEEE\nFFF\nGGG')
1670
+ f.write('AAA\nBBB\nCCC\nDDD\nEEE\nFFF\nGGG')
1671
1672
with open('__foo__.txt', 'rb') as f:
1673
for line in f:
0 commit comments