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:
398
398
def runtest (self ) -> None :
399
399
if self .get_closest_marker ("asyncio" ):
400
400
self .obj = wrap_in_sync (
401
- self ,
402
401
self .obj ,
403
402
)
404
403
super ().runtest ()
@@ -420,7 +419,6 @@ def _can_substitute(item: pytest.Function) -> bool:
420
419
def runtest (self ) -> None :
421
420
if self .get_closest_marker ("asyncio" ):
422
421
self .obj = wrap_in_sync (
423
- self ,
424
422
self .obj ,
425
423
)
426
424
super ().runtest ()
@@ -442,7 +440,6 @@ def _can_substitute(item: pytest.Function) -> bool:
442
440
def runtest (self ) -> None :
443
441
if self .get_closest_marker ("asyncio" ):
444
442
self .obj .hypothesis .inner_test = wrap_in_sync (
445
- self ,
446
443
self .obj .hypothesis .inner_test ,
447
444
)
448
445
super ().runtest ()
@@ -744,7 +741,6 @@ def pytest_pyfunc_call(pyfuncitem: pytest.Function) -> Optional[object]:
744
741
745
742
746
743
def wrap_in_sync (
747
- pyfuncitem : pytest .Function ,
748
744
func : Callable [..., Awaitable [Any ]],
749
745
):
750
746
"""Return a sync wrapper around an async function executing it in the
You can’t perform that action at this time.
0 commit comments