Skip to content

Commit 9ed015c

Browse files
Update walltime.py
1 parent 10547f5 commit 9ed015c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pytest_codspeed/instruments/walltime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ async def __codspeed_root_frame__() -> T:
296296
def _measure_pedantic_iter( # noqa: C901
297297
self,
298298
marker_options: BenchmarkMarkerOptions,
299-
pedantic_options: PedanticOptions[T],
299+
pedantic_options: PedanticOptions[object],
300300
name: str,
301301
uri: str,
302302
) -> Iterator[None]:
@@ -370,7 +370,7 @@ def __codspeed_root_frame__(*args, **kwargs) -> T:
370370
async def measure_pedantic_async(
371371
self,
372372
marker_options: BenchmarkMarkerOptions,
373-
pedantic_options: PedanticOptions[T],
373+
pedantic_options: PedanticOptions[Awaitable[T]],
374374
name: str,
375375
uri: str,
376376
) -> T:

0 commit comments

Comments
 (0)