Skip to content

Commit b099733

Browse files
authored
Fix some of the typing broken in #81
1 parent 3e26619 commit b099733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pytest_codspeed/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def __init__(self, request: pytest.FixtureRequest):
329329
self._called = False
330330

331331
def __call__(
332-
self, target: Callable[..., T], *args: tuple, **kwargs: dict[str, Any]
332+
self, target: Callable[P, T], *args: P.args, **kwargs: P.kwargs
333333
) -> T:
334334
if self._called:
335335
raise RuntimeError("The benchmark fixture can only be used once per test")

0 commit comments

Comments
 (0)