-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve output with invalid asyncio_mode (#557)
Instead of a long INTERNALERROR> stack trace, output a proper error message: $ pytest -o asyncio_mode=True =================== test session starts ==================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 ERROR: 'True' is not a valid asyncio_mode. Valid modes: auto, strict. See pytest-dev/pytest#11083
- Loading branch information
1 parent
f0cdf46
commit e41af6c
Showing
3 changed files
with
19 additions
and
1 deletion.
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
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