From 14a5c0f237362f88c88f23175268b67084dfac1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 5 Jan 2021 09:14:51 +0100 Subject: Use unittest.mock instead of mock The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Change-Id: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f --- tools/state_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/state_graph.py b/tools/state_graph.py index 9b08638..cc70fb2 100755 --- a/tools/state_graph.py +++ b/tools/state_graph.py @@ -14,7 +14,7 @@ # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock import optparse import os -- cgit v1.2.1