From 8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 21 Oct 2016 19:12:25 +0200 Subject: Revert "Use ensure_future instead of async" This reverts commit a4d67ce041f50e0d25e2b47d04cc25bdad86a048. --- tests/end_to_end/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3