Skip to content

Commit 4ad5d08

Browse files
committed
Include cythonized multicall in benchmarks
1 parent d6994e1 commit 4ad5d08

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

testing/benchmark.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55
from pluggy import HookspecMarker, HookimplMarker
66
from pluggy.hooks import HookImpl
7-
from pluggy.callers import _multicall
7+
from pluggy.callers import _multicall, _c_multicall
88

99
hookspec = HookspecMarker("example")
1010
hookimpl = HookimplMarker("example")
@@ -38,7 +38,10 @@ def wrappers(request):
3838
return [wrapper for i in range(request.param)]
3939

4040

41-
@pytest.fixture(params=[_multicall], ids=lambda item: item.__name__)
41+
@pytest.fixture(
42+
params=[_multicall, _c_multicall],
43+
ids=lambda item: item.__name__
44+
)
4245
def callertype(request):
4346
return request.param
4447

0 commit comments

Comments
 (0)