diff --git a/test/test_unpack.py b/test/test_unpack.py index 275f124..8d0d949 100644 --- a/test/test_unpack.py +++ b/test/test_unpack.py @@ -47,7 +47,8 @@ def test_unpacker_ext_hook(): class MyUnpacker(Unpacker): def __init__(self): - super().__init__(ext_hook=self._hook, encoding='utf-8') + super(MyUnpacker, self).__init__(ext_hook=self._hook, + encoding='utf-8') def _hook(self, code, data): if code == 1: