diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2018-08-15 16:33:44 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-15 15:41:16 +0100 |
commit | 9c32f8a28c0e555537ee0c8236e099a6990dacbc (patch) | |
tree | 813a3870556015763fdc31e0868257c89225d325 /tests/widgets | |
parent | 7eaaaf6e0f0acfe754aaad4d07cbd83980151665 (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/widgets')
-rw-r--r-- | tests/widgets/test_globals.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/widgets/test_globals.py b/tests/widgets/test_globals.py index a52a721c..72e6f77e 100644 --- a/tests/widgets/test_globals.py +++ b/tests/widgets/test_globals.py @@ -17,8 +17,7 @@ """Tests for the alot.widgets.globals module.""" import unittest - -import mock +from unittest import mock from alot.widgets import globals as globals_ |