summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-20 12:58:52 +0100
committermathieui <mathieui@mathieui.net>2021-02-20 12:58:52 +0100
commit17a663b0fd0cecb03a2e0de1cd5b34239949c0e6 (patch)
tree83b0201c70c3ccfc4296181fce3d6b3eca1e6eab
parent35c68738a74da63a3daba4d57f22971af518387f (diff)
parent9270d1e538c902aaf71501cd1a0e98633c939a63 (diff)
downloadslixmpp-17a663b0fd0cecb03a2e0de1cd5b34239949c0e6.tar.gz
slixmpp-17a663b0fd0cecb03a2e0de1cd5b34239949c0e6.tar.bz2
slixmpp-17a663b0fd0cecb03a2e0de1cd5b34239949c0e6.tar.xz
slixmpp-17a663b0fd0cecb03a2e0de1cd5b34239949c0e6.zip
Merge branch 'test-run-coro-return-value' into 'master'
tests: return the coroutine result in run_coro See merge request poezio/slixmpp!138
-rw-r--r--slixmpp/test/slixtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py
index d0e380f7..64d60d8d 100644
--- a/slixmpp/test/slixtest.py
+++ b/slixmpp/test/slixtest.py
@@ -637,7 +637,7 @@ class SlixTest(unittest.TestCase):
def run_coro(self, coro):
loop = asyncio.get_event_loop()
- loop.run_until_complete(coro)
+ return loop.run_until_complete(coro)
def stream_close(self):
"""