diff options
author | INADA Naoki <songofacandy@gmail.com> | 2014-02-17 03:38:06 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2014-02-17 03:38:06 +0900 |
commit | ff263dfee81b3c20de8e75f903a9ef82ba9e7de2 (patch) | |
tree | 2c35e656b7520fed07a69325464a1b0747348a99 /test/test_sequnpack.py | |
parent | 96d7d0edc6f70ab044b5ba6674f5ea992ef50c4d (diff) | |
parent | 0c22e775c9ea71242eec237e2e032aca749e909c (diff) | |
download | msgpack-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.py | 4 |
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') |