File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,6 @@ def _can_substitute(item: pytest.Function) -> bool:
398398 def runtest (self ) -> None :
399399 if self .get_closest_marker ("asyncio" ):
400400 self .obj = wrap_in_sync (
401- self ,
402401 self .obj ,
403402 )
404403 super ().runtest ()
@@ -420,7 +419,6 @@ def _can_substitute(item: pytest.Function) -> bool:
420419 def runtest (self ) -> None :
421420 if self .get_closest_marker ("asyncio" ):
422421 self .obj = wrap_in_sync (
423- self ,
424422 self .obj ,
425423 )
426424 super ().runtest ()
@@ -442,7 +440,6 @@ def _can_substitute(item: pytest.Function) -> bool:
442440 def runtest (self ) -> None :
443441 if self .get_closest_marker ("asyncio" ):
444442 self .obj .hypothesis .inner_test = wrap_in_sync (
445- self ,
446443 self .obj .hypothesis .inner_test ,
447444 )
448445 super ().runtest ()
@@ -744,7 +741,6 @@ def pytest_pyfunc_call(pyfuncitem: pytest.Function) -> Optional[object]:
744741
745742
746743def wrap_in_sync (
747- pyfuncitem : pytest .Function ,
748744 func : Callable [..., Awaitable [Any ]],
749745):
750746 """Return a sync wrapper around an async function executing it in the
You can’t perform that action at this time.
0 commit comments