mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
nixos/tests/matrix/{conduit,dendrite}: fix deprecated asyncio usage
`asyncio.get_event_loop()` was deprecated in python 3.14, see https://docs.python.org/3/whatsnew/3.14.html#id10 for more info.
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