-
Notifications
You must be signed in to change notification settings - Fork 40
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_cases.parametrize()
makes pytest.mark.anyio
not working
#286
Comments
pytest_cases.parametrize()
makes pytest.mary.anyio
not workingpytest_cases.parametrize()
makes pytest.mark.anyio
not working
Thanks @dybi for this issue ! python-pytest-cases/src/pytest_cases/fixture_parametrize_plus.py Lines 1062 to 1085 in ab3b719
Today, this wrapper does not intelligently turn into an async wrapper when the wrapped function is an async. It therefore would need to be improved. By the way not sure that |
Apparently I already implemented support for coroutines in makefun :) https://smarie.github.io/python-makefun/#generators-and-coroutines |
the above code produces the following error:
It looks like using
pytest_cases.parametrize()
would "cancel"pytest.mark.anyio
. The order of the decorators doesn't matter - the same error is produced.Versions:
The text was updated successfully, but these errors were encountered: