-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bluez: Allow accessing Bleak from multiple individual event loops
Previous event loop needs to be closed for this to work, as the rest of the DBus access code doesn't support concurrent access from more than one MessageBus instance. However this allows creating per-test Bleak classes with pytest-asyncio that don't overlap each other, and possibly other use cases as well.
- Loading branch information
1 parent
18f7e9a
commit 1c581c0
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters