summaryrefslogtreecommitdiff
path: root/test/test_sequnpack.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2011-01-09 23:13:35 +0900
committerINADA Naoki <songofacandy@gmail.com>2011-01-09 23:13:35 +0900
commit9c61ce2c6cb8f87d6d928ef728a882bf141ccaf2 (patch)
tree51bd3060b0820f479a44654c30535a1638a0fd0e /test/test_sequnpack.py
parent67b80f8b8a252e42119b3e9dce151a3354a58872 (diff)
downloadmsgpack-python-9c61ce2c6cb8f87d6d928ef728a882bf141ccaf2.tar.gz
python: Don't use ``from __future__ import unicode_literals``.
Python 2.5 or older doesn't support it.
Diffstat (limited to 'test/test_sequnpack.py')
-rw-r--r--test/test_sequnpack.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index df6e308..c92658c 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -1,13 +1,11 @@
#!/usr/bin/env python
# coding: utf-8
-from __future__ import unicode_literals
-
from msgpack import Unpacker
def test_foobar():
unpacker = Unpacker(read_size=3)
- unpacker.feed(b'foobar')
+ unpacker.feed('foobar')
assert unpacker.unpack() == ord(b'f')
assert unpacker.unpack() == ord(b'o')
assert unpacker.unpack() == ord(b'o')