summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-11-14 15:04:28 +0000
committerNeil Johnson <neil@matrix.org>2018-11-14 15:04:28 +0000
commitded57746373a90203cd171ab3842a7ef8e5418a2 (patch)
tree3f188c891f0ead54f5fb3beb428da3dd51e5dde9
parentimprove docstring (diff)
downloadsynapse-ded57746373a90203cd171ab3842a7ef8e5418a2.tar.xz
fix py2 Mock dep
-rw-r--r--tests/handlers/test_user_directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_user_directory.py b/tests/handlers/test_user_directory.py
index 22b602abef..4448d15642 100644
--- a/tests/handlers/test_user_directory.py
+++ b/tests/handlers/test_user_directory.py
@@ -12,7 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-from unittest.mock import Mock
+from mock import Mock
 
 from twisted.internet import defer