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