From 8d30056088484ad7b00ff0664b8814516729dcc3 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sat, 18 Nov 2023 02:08:46 +0200 Subject: [PATCH] [Test] Fix dummy http server on python 3.6 --- test/functional/util/dummy_http.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/util/dummy_http.py b/test/functional/util/dummy_http.py index 832dbdc79..c1abf7eb8 100755 --- a/test/functional/util/dummy_http.py +++ b/test/functional/util/dummy_http.py @@ -141,4 +141,5 @@ async def main(): await asyncio.Event().wait() if __name__ == "__main__": - asyncio.run(main()) + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) -- 2.39.5