From 0b327a63fc3b344688c46f622f0b3d47a3ba7c06 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Sun, 9 Jan 2011 23:13:35 +0900 Subject: [PATCH] python: Don't use ``from __future__ import unicode_literals``. Python 2.5 or older doesn't support it. --- python/test/test_sequnpack.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/test/test_sequnpack.py b/python/test/test_sequnpack.py index df6e3088..c92658c1 100644 --- a/python/test/test_sequnpack.py +++ b/python/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')