aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-04-07 22:13:17 -0700
committerZac Medico <zmedico@gentoo.org>2020-04-07 22:29:49 -0700
commit71ae5a58fe72bc32dce030210a73ea5c9eeb4a1c (patch)
tree4b26689841ad20eb5231f1fbfe82732fb7fbaf13 /lib/portage/tests/util/futures/test_done_callback_after_exit.py
parentRevert "AbstractEbuildProcess: add _async_start coroutine" (diff)
downloadportage-71ae5a58fe72bc32dce030210a73ea5c9eeb4a1c.tar.gz
portage-71ae5a58fe72bc32dce030210a73ea5c9eeb4a1c.tar.bz2
portage-71ae5a58fe72bc32dce030210a73ea5c9eeb4a1c.zip
Revert "AsynchronousTask: add coroutine async_start method"
This reverts commit d66e9ec0b10522528d62e18b83e012c1ec121787. Bug: https://bugs.gentoo.org/716636 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage/tests/util/futures/test_done_callback_after_exit.py')
-rw-r--r--lib/portage/tests/util/futures/test_done_callback_after_exit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/tests/util/futures/test_done_callback_after_exit.py b/lib/portage/tests/util/futures/test_done_callback_after_exit.py
index 8913d70e5..7ac7674e6 100644
--- a/lib/portage/tests/util/futures/test_done_callback_after_exit.py
+++ b/lib/portage/tests/util/futures/test_done_callback_after_exit.py
@@ -31,7 +31,7 @@ class DoneCallbackAfterExitTestCase(TestCase):
"""
loop = asyncio._wrap_loop()
task = AsynchronousTask(scheduler=loop)
- loop.run_until_complete(task.async_start())
+ task.start()
loop.run_until_complete(task.async_wait())
for i in range(3):