mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-12-01 22:53:28 +01:00
8 lines
199 B
Python
8 lines
199 B
Python
import platform
|
|
from distutils.version import StrictVersion
|
|
|
|
if StrictVersion(platform.python_version()) < StrictVersion("3.3.0"):
|
|
import mock # noqa
|
|
else:
|
|
from unittest import mock # noqa
|