mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Python 2.7 fix
Change-Id: Icd397820eb6d7d9aa36d617c3f50900ec7d04030
This commit is contained in:
1 parent
0fc4cf12c3
commit
e791893850
1 file changed
+2
-1
@@ -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'))
|
||||
Reference in new issue
Block a user