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
in that case its a unintended interaction with pytest-asyncio that we aren't aware of, please report against pytest-asyncio as well so we can collaborate on the root cause analysis
Activity
RonnyPfannschmidt commentedon Jul 31, 2018
@JohanLorenzo the perceived issue can be fixed by reordering the marker and the fixture declaration
due to the introduction of the deprecaationwarning the structure changed a bit and the markers dont pass on
since pytest core doesn't support markers on fixtures to begin with this is a bit of a grey area,
basically this issue is with pytest-asyncio
upon quick skimming i beleive it should have declared an own asyncio_fixture decorator as a starting pointpoint
JohanLorenzo commentedon Jul 31, 2018
Got it. Thanks for the context!
To make sure I get this right, do you mean I should write:
?
RonnyPfannschmidt commentedon Jul 31, 2018
correct - i believe that should work, please report back with the details
JohanLorenzo commentedon Jul 31, 2018
Crap, I get the same error after the marker switch :/
RonnyPfannschmidt commentedon Jul 31, 2018
in that case its a unintended interaction with pytest-asyncio that we aren't aware of, please report against pytest-asyncio as well so we can collaborate on the root cause analysis
JohanLorenzo commentedon Jul 31, 2018
Okay. Looks like pytest-dev/pytest-asyncio#89 was already filed. I commented there.
daniloaf commentedon Jul 31, 2018
I'm having the same issue when using asyncio inside a fixture, but I'm not using the
@pytest.mark.asyncioRefactor direct fixture call warning to avoid incompatibility with pl…
Update pytest to 3.7.1 (#24)
Merge #26
Update pytest to 3.7.1 (#1247)
Update pytest to 3.7.2 (#8)
Scheduled monthly dependency update for October (#389)