From 4ad5d080c51aa05007a17caac60a13b6eacc79a7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 4 Jun 2020 14:59:33 -0400 Subject: [PATCH] Include cythonized multicall in benchmarks --- testing/benchmark.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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