
Starting with keeping the try/except to find mock on both Python 2 and Python 3 in one place. Change-Id: I4fa5e6e3f6610f6eb2601d4c3cb51d76565dd3c0
5 lines
79 B
Python
5 lines
79 B
Python
try:
|
|
from unittest import mock
|
|
except ImportError:
|
|
import mock # noqa
|