diff options
author | louiz’ <louiz@louiz.org> | 2016-10-21 19:12:25 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-10-21 19:12:25 +0200 |
commit | 8b8bbceeb39b32b90f76a9c0beb3f7d30ed6fd7b (patch) | |
tree | 8be88d9f95d8cb915f6bd2321c5982f5d2ada937 /tests | |
parent | ac32d257386fe1c8df2632cf1d6452b1875eb645 (diff) | |
download | biboumi-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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/end_to_end/__main__.py | 2 |
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 |