8000 fixed super() for python2 · faerot/msgpack-python@ee38505 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee38505

Browse files
author
Alexey Popravka
committed
fixed super() for python2
1 parent d850e56 commit ee38505

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_unpack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def test_unpacker_ext_hook():
4747
class MyUnpacker(Unpacker):
4848

4949
def __init__(self):
50-
super().__init__(ext_hook=self._hook, encoding='utf-8')
50+
super(MyUnpacker, self).__init__(ext_hook=self._hook,
51+
encoding='utf-8')
5152

5253
def _hook(self, code, data):
5354
if code == 1:

0 commit comments

Comments
 (0)
0