mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +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
|
||||
|
||||
try:
|
||||
from unittest import mock
|
||||
except ImportError:
|
||||
import mock # NOQA
|
||||
from unittest import mock # NOQA
|
||||
|
Loading…
x
Reference in New Issue
Block a user