~singpolyma/biboumi

a4d67ce041f50e0d25e2b47d04cc25bdad86a048 — louiz’ 7 years ago 4388b9c
Use ensure_future instead of async
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/end_to_end/__main__.py
M tests/end_to_end/__main__.py => tests/end_to_end/__main__.py +1 -1
@@ 57,7 57,7 @@ class XMPPComponent(slixmpp.BaseXMPP):

        self.add_event_handler("session_end", self.on_end_session)

        asyncio.async(self.accept_routine())
        asyncio.ensure_future(self.accept_routine())

        self.scenario = scenario
        self.biboumi = biboumi