-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest-steps is not compatible with async functions (pytest.mark.asyncio) #33
Comments
Thanks for reaching out ! Any feedback is always great I have not tested this plugin with async functions. However I do not see any reason why this would not be compliant, as long as the test functions are normal functions (or generators if you use the new syntax with Let me know if it does not work for you - in that case please send a "minimum reproducible example" of the errors you are facing. |
Closing this issue as it seems solved. Please reopen if this is not the case. |
There is no way to run async functions in sync function. As I see your decorators type on default is sync. I guess it's not compatible at all :c |
good point @VernadskyDanya : I guess that |
I found the pytest-steps and I'm trying to use it my code,
but some functions in my code is async function, so I'm curious about that this module is compatible with pytest.mark.asyncio or other async functions!
I'll wait your comment and have a nice day :)
The text was updated successfully, but these errors were encountered: