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
[refactor] Moved code that generates a warning when marking a synchronous function with "asyncio" from the synchronization wrapper to the pytest_pyfunc_call hook.
Whether to raise a warning due to unnecessary marker usage should be of no concern to the synchronization wrapper.
The change implies that pytest-asyncio now checks that the test function is a coroutine or async generator, instead of checking that the return value of the test function is awaitable.
Signed-off-by: Michael Seifert <[email protected]>
0 commit comments