mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
nixos/tests/matrix/{conduit,dendrite}: fix deprecated asyncio usage (#560958)
This commit is contained in:
@@ -77,7 +77,7 @@ in
|
||||
# Close the client
|
||||
await client.close()
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
||||
@@ -77,7 +77,7 @@ in
|
||||
# Close the client
|
||||
await client.close()
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user