1
0
mirror of https://github.com/docker/compose.git synced 2025-04-08 17:05:13 +02:00

Use mock compatibility import

`tests/__init__.py` already has a try/except statement to use mock from
the standard library when possible.  Take advantage of it like other
tests already do.

Signed-off-by: Carl George <carl@george.computer>
This commit is contained in:
Carl George 2018-01-22 23:10:50 -06:00
parent fd1e8024f7
commit 8b5d32373e

@ -2,9 +2,9 @@ from __future__ import absolute_import
from __future__ import unicode_literals
import docker
import mock
import pytest
from .. import mock
from compose import bundle
from compose import service
from compose.cli.errors import UserError