Hello, I noticed that ``` if compat.is_py2: import mock as mocklib if compat.is_py3: if compat.is_py32: import mock as mocklib else: from unittest import mock as mocklib ``` is both in https://github.com/femtotrader/datapackage/blob/master/tests/test_datapackage.py and https://github.com/femtotrader/datapackage/blob/master/tests/test_resource.py I think Mocklib should be imported in `compat.py` https://en.wikipedia.org/wiki/Don%27t_repeat_yourself Kind regards
Hello,
I noticed that
is both in https://github.com/femtotrader/datapackage/blob/master/tests/test_datapackage.py
and https://github.com/femtotrader/datapackage/blob/master/tests/test_resource.py
I think Mocklib should be imported in
compat.pyhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Kind regards