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

@ -19,8 +19,7 @@ import json
import urllib.parse
from binascii import unhexlify
from typing import List, Optional
from mock import Mock
from unittest.mock import Mock
import synapse.rest.admin
from synapse.api.constants import UserTypes