diff --git a/src/wormhole_mailbox_server/test/test_rlimits.py b/src/wormhole_mailbox_server/test/test_rlimits.py index 913bbb5..4692acf 100644 --- a/src/wormhole_mailbox_server/test/test_rlimits.py +++ b/src/wormhole_mailbox_server/test/test_rlimits.py @@ -1,5 +1,5 @@ from __future__ import print_function, unicode_literals -import mock +from unittest import mock from twisted.trial import unittest from ..increase_rlimits import increase_rlimits diff --git a/src/wormhole_mailbox_server/test/test_server.py b/src/wormhole_mailbox_server/test/test_server.py index 6f223d0..bd23693 100644 --- a/src/wormhole_mailbox_server/test/test_server.py +++ b/src/wormhole_mailbox_server/test/test_server.py @@ -1,5 +1,5 @@ from __future__ import print_function, unicode_literals -import mock +from unittest import mock from twisted.trial import unittest from twisted.python import log from .common import ServerBase, _Util diff --git a/src/wormhole_mailbox_server/test/test_service.py b/src/wormhole_mailbox_server/test/test_service.py index 0f419f3..bfa5058 100644 --- a/src/wormhole_mailbox_server/test/test_service.py +++ b/src/wormhole_mailbox_server/test/test_service.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals, print_function from twisted.trial import unittest -import mock +from unittest import mock from twisted.application.service import MultiService from .. import server_tap diff --git a/src/wormhole_mailbox_server/test/test_web.py b/src/wormhole_mailbox_server/test/test_web.py index 9dbbbfe..c271cbe 100644 --- a/src/wormhole_mailbox_server/test/test_web.py +++ b/src/wormhole_mailbox_server/test/test_web.py @@ -1,6 +1,6 @@ from __future__ import print_function, unicode_literals import io, time -import mock +from unittest import mock import treq from twisted.trial import unittest from twisted.internet import defer, reactor