summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-21 19:12:25 +0200
committerlouiz’ <louiz@louiz.org>2016-10-21 19:12:25 +0200
commit8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b (patch)
tree8be88d9f95d8cb915f6bd2321c5982f5d2ada937
parentac32d257386fe1c8df2632cf1d6452b1875eb645 (diff)
downloadbiboumi-8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b.tar.gz
biboumi-8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b.tar.bz2
biboumi-8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b.tar.xz
biboumi-8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b.zip
Revert "Use ensure_future instead of async"
This reverts commit a4d67ce041f50e0d25e2b47d04cc25bdad86a048.
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index fd515e2..747c8f5 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -57,7 +57,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
self.add_event_handler("session_end", self.on_end_session)
- asyncio.ensure_future(self.accept_routine())
+ asyncio.async(self.accept_routine())
self.scenario = scenario
self.biboumi = biboumi