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
Only async fixture with default function scope can work with trio.
Currently, an async fixture with another scope (i.e. module, class or session) will be considered as a regular function and end up as a coroutine in the test function.
This is most likely an inconsistent behavior. A much better solution would be to check the scope of the async fixture before test and raise an error if it's not a correct one.
Following discussion in #17, test file test_fixture_scope.py has been removed until this feature is added to avoid core dump in Python 3.5
Activity
Rework fixtures
Rework fixtures
Rework fixtures
In Trio mode, auto-convert async fixtures to Trio fixtures
In Trio mode, auto-convert async fixtures to Trio fixtures