diff --git a/tests/tools/test_amazon_download_client.py b/tests/tools/test_amazon_download_client.py index d3a77d3a..f831f268 100644 --- a/tests/tools/test_amazon_download_client.py +++ b/tests/tools/test_amazon_download_client.py @@ -39,7 +39,7 @@ from core.download_plugins.types import AlbumResult, DownloadStatus, TrackResult # --------------------------------------------------------------------------- def run(coro): - return asyncio.get_event_loop().run_until_complete(coro) + return asyncio.run(coro) def _stream_info(