We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da3339 commit 106fa54Copy full SHA for 106fa54
pytest_asyncio/plugin.py
@@ -398,7 +398,8 @@ def _can_substitute(item: Function) -> bool:
398
def runtest(self) -> None:
399
if self.get_closest_marker("asyncio"):
400
self.obj = wrap_in_sync(
401
- self.obj,
+ # https://github.com/pytest-dev/pytest-asyncio/issues/596
402
+ self.obj, # type: ignore[has-type]
403
)
404
super().runtest()
405
@@ -419,7 +420,8 @@ def _can_substitute(item: Function) -> bool:
419
420
421
422
423
424
425
426
427
0 commit comments