From 9c32f8a28c0e555537ee0c8236e099a6990dacbc Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Wed, 15 Aug 2018 16:33:44 +0200 Subject: Use unittest.mock from the stdlib It was added to the stdlib in py3.3 and we already require 3.5. --- tests/addressbook/test_external.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/addressbook') diff --git a/tests/addressbook/test_external.py b/tests/addressbook/test_external.py index ca76cc50..e38ec9e5 100644 --- a/tests/addressbook/test_external.py +++ b/tests/addressbook/test_external.py @@ -2,8 +2,7 @@ # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file import unittest - -import mock +from unittest import mock from alot.addressbook import external -- cgit v1.2.3