Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle BaseExceptions from loop.run_until_complete (#126)
Asyncio doesn't get the results of tasks that fail with exceptions that don't subclass `Exception` (like pytest's `Skipped`) in `run_until_complete`. This leads to asyncio logging noisily warnings when pytest's skip functionality is mixed with this plugin. This fixes this error, and adds a test. Fixes #123. Co-Authored-By: Daniel Hahler <github@thequod.de> Co-Authored-By: Andrew Svetlov <andrew.svetlov@gmail.com>
- Loading branch information
1 parent
a9e2213
commit 86cd9a6
Showing
2 changed files
with
15 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
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