We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4c1b92 commit 1b66314Copy full SHA for 1b66314
pytest_asyncio/plugin.py
@@ -140,8 +140,8 @@ def pytest_pyfunc_call(pyfuncitem):
140
function call.
141
"""
142
for marker_name, fixture_name in _markers_2_fixtures.items():
143
- if isasyncgenfunction(pyfuncitem.obj) \
144
- and marker_name in pyfuncitem.keywords:
+ if marker_name in pyfuncitem.keywords \
+ and not getattr(pyfuncitem.obj, 'is_hypothesis_test', False):
145
event_loop = pyfuncitem.funcargs[fixture_name]
146
147
funcargs = pyfuncitem.funcargs
0 commit comments