Skip to content

Commit 9c61ce2

Browse files
committed
python: Don't use from __future__ import unicode_literals.
Python 2.5 or older doesn't support it.
1 parent 67b80f8 commit 9c61ce2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/test_sequnpack.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#!/usr/bin/env python
22
# coding: utf-8
33

4-
from __future__ import unicode_literals
5-
64
from msgpack import Unpacker
75

86
def test_foobar():
97
unpacker = Unpacker(read_size=3)
10-
unpacker.feed(b'foobar')
8+
unpacker.feed('foobar')
119
assert unpacker.unpack() == ord(b'f')
1210
assert unpacker.unpack() == ord(b'o')
1311
assert unpacker.unpack() == ord(b'o')

0 commit comments

Comments
 (0)