-
Notifications
You must be signed in to change notification settings - Fork 8
Enable asyncio debug mode in tests #541
Copy link
Copy link
Open
Labels
part:pytestAffects the configuration of pytestAffects the configuration of pytestpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Metadata
Metadata
Assignees
Labels
part:pytestAffects the configuration of pytestAffects the configuration of pytestpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
What's needed?
Asyncio debug mode is not enabled by default by
pytestorpytest-asyncio, but it provides some extra sanity checks that can help debug tests or detect more potential issues early.Proposed solution
Add
asyncio_debug = trueto the config inpyproject.toml:Use cases
No response
Alternatives and workarounds
No response
Additional context
No response