diff options
author | INADA Naoki <inada-n@klab.com> | 2014-02-15 22:16:01 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2014-02-15 22:16:01 +0900 |
commit | dee2d87d413eaf9cb38f11c72df10e82a73f452f (patch) | |
tree | 54a89adff4e441ff3e7800f057566bd293ad3586 /test/test_sequnpack.py | |
parent | 96d7d0edc6f70ab044b5ba6674f5ea992ef50c4d (diff) | |
download | msgpack-python-dee2d87d413eaf9cb38f11c72df10e82a73f452f.tar.gz |
six.BytesIO => io.BytesIO
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') |