mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-25 11:46:54 +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
|