Python 2.7 fix

Change-Id: Icd397820eb6d7d9aa36d617c3f50900ec7d04030
This commit is contained in:
Wes McKinney committed 2016-10-02 21:43:46 -04:00
1 parent 0fc4cf12c3
commit e791893850
1 file changed
+2 -1
+2 -1
View File
@@ -18,6 +18,7 @@
from io import BytesIO
import pytest
from pyarrow.compat import u
import pyarrow.io as io
# ----------------------------------------------------------------------
@@ -96,4 +97,4 @@ def test_bytes_reader():
def test_bytes_reader_non_bytes():
with pytest.raises(ValueError):
io.BytesReader('some sample data')
io.BytesReader(u('some sample data'))