diff --git a/tests/storage/test_events.py b/tests/storage/test_events.py
index 313013009ea5c2d1f615f91233c13f9848656e65..946cd3e9f25963a7b50f70d1aeeaa1664d0ed98e 100644
--- a/tests/storage/test_events.py
+++ b/tests/storage/test_events.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 import uuid
-from mock.mock import Mock
+from mock import Mock
 from synapse.types import RoomID, UserID
 
 from tests import unittest