summaryrefslogtreecommitdiff
path: root/test/test_sequnpack.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2014-02-17 03:38:06 +0900
committerINADA Naoki <songofacandy@gmail.com>2014-02-17 03:38:06 +0900
commitff263dfee81b3c20de8e75f903a9ef82ba9e7de2 (patch)
tree2c35e656b7520fed07a69325464a1b0747348a99 /test/test_sequnpack.py
parent96d7d0edc6f70ab044b5ba6674f5ea992ef50c4d (diff)
parent0c22e775c9ea71242eec237e2e032aca749e909c (diff)
downloadmsgpack-python-ff263dfee81b3c20de8e75f903a9ef82ba9e7de2.tar.gz
Merge pull request #91 from msgpack/reduce-six
Reduce six usage
Diffstat (limited to 'test/test_sequnpack.py')
-rw-r--r--test/test_sequnpack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index f541207..5d37698 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf-8
-import six
+import io
from msgpack import Unpacker, BufferFull
from msgpack.exceptions import OutOfData
from pytest import raises
@@ -79,7 +79,7 @@ def test_readbytes():
assert unpacker.unpack() == ord(b'r')
# Test buffer refill
- unpacker = Unpacker(six.BytesIO(b'foobar'), read_size=3)
+ unpacker = Unpacker(io.BytesIO(b'foobar'), read_size=3)
assert unpacker.unpack() == ord(b'f')
assert unpacker.read_bytes(3) == b'oob'
assert unpacker.unpack() == ord(b'a')