mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Import unittest.mock directly.
We don't need to support Python2 anymore. Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
This commit is contained in:
parent
0263d3ec37
commit
6351ad8a95
@ -1,6 +1,2 @@
|
|||||||
import unittest # NOQA
|
import unittest # NOQA
|
||||||
|
from unittest import mock # NOQA
|
||||||
try:
|
|
||||||
from unittest import mock
|
|
||||||
except ImportError:
|
|
||||||
import mock # NOQA
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user