Use mock from the stdlib. (#9772)

This commit is contained in:
Patrick Cloke 2021-04-09 13:44:38 -04:00 committed by GitHub
parent f946450184
commit 0b3112123d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 86 additions and 126 deletions

View file

@ -21,10 +21,9 @@ import time
import uuid
import warnings
from typing import Type
from unittest.mock import Mock, patch
from urllib import parse as urlparse
from mock import Mock, patch
from twisted.internet import defer
from synapse.api.constants import EventTypes