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/db/test_thread.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/db/test_thread.py') diff --git a/tests/db/test_thread.py b/tests/db/test_thread.py index e3e398eb..8c78a026 100644 --- a/tests/db/test_thread.py +++ b/tests/db/test_thread.py @@ -17,8 +17,7 @@ """Tests for the alot.db.thread module.""" import datetime import unittest - -import mock +from unittest import mock from alot.db import thread -- cgit v1.2.3