summary refs log tree commit diff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-10 10:53:06 +0100
committerErik Johnston <erik@matrix.org>2019-10-10 10:53:06 +0100
commit1d6dd1c2944c22147258dda8ccf2777c68b38fba (patch)
tree575e81c28bdb7742979c116d6acba9f59552894f /tests/__init__.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/patch_inner (diff)
downloadsynapse-1d6dd1c2944c22147258dda8ccf2777c68b38fba.tar.xz
Move patch_inline_callbacks into synapse/
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index f7fc502f01..ed805db1c2 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -16,9 +16,9 @@
 
 from twisted.trial import util
 
-import tests.patch_inline_callbacks
+from synapse.util.patch_inline_callbacks import do_patch
 
 # attempt to do the patch before we load any synapse code
-tests.patch_inline_callbacks.do_patch()
+do_patch()
 
 util.DEFAULT_TIMEOUT_DURATION = 20