diff --git a/testing/benchmark.py b/testing/benchmark.py index 4cd7781c..f98fbcca 100644 --- a/testing/benchmark.py +++ b/testing/benchmark.py @@ -4,7 +4,7 @@ import pytest from pluggy import HookspecMarker, HookimplMarker from pluggy.hooks import HookImpl -from pluggy.callers import _multicall +from pluggy.callers import _multicall, _c_multicall hookspec = HookspecMarker("example") hookimpl = HookimplMarker("example") @@ -38,7 +38,10 @@ def wrappers(request): return [wrapper for i in range(request.param)] -@pytest.fixture(params=[_multicall], ids=lambda item: item.__name__) +@pytest.fixture( + params=[_multicall, _c_multicall], + ids=lambda item: item.__name__ +) def callertype(request): return request.param