You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and didn't find my feature already requested there
Feature description
Sync test function attempting to use async fixture fails silently. pytest-trio will raise a RuntimeError in this instance.
The one possible downside is that this will break users who have async autouse fixtures in the same file where they have sync tests. But this restriction probably isn't too onerous, and may catch bugs as well.
Things to check first
Feature description
Sync test function attempting to use async fixture fails silently. pytest-trio will raise a
RuntimeError
in this instance.The one possible downside is that this will break users who have async autouse fixtures in the same file where they have sync tests. But this restriction probably isn't too onerous, and may catch bugs as well.
Use case
Catch bugs and align behavior with pytest-trio
will pass, but probably shouldn't
The text was updated successfully, but these errors were encountered: