summaryrefslogtreecommitdiff
path: root/tests/commands/test_thread.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2018-08-15 16:33:44 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2019-08-15 15:41:16 +0100
commit9c32f8a28c0e555537ee0c8236e099a6990dacbc (patch)
tree813a3870556015763fdc31e0868257c89225d325 /tests/commands/test_thread.py
parent7eaaaf6e0f0acfe754aaad4d07cbd83980151665 (diff)
Use unittest.mock from the stdlib
It was added to the stdlib in py3.3 and we already require 3.5.
Diffstat (limited to 'tests/commands/test_thread.py')
-rw-r--r--tests/commands/test_thread.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/commands/test_thread.py b/tests/commands/test_thread.py
index 3d4268aa..335ca388 100644
--- a/tests/commands/test_thread.py
+++ b/tests/commands/test_thread.py
@@ -6,8 +6,7 @@
"""Test suite for alot.commands.thread module."""
import email
import unittest
-
-import mock
+from unittest import mock
from alot.commands import thread
from alot.account import Account