Skip to content

Commit 2f5109a

Browse files
author
Tyler Goodlet
committed
Update benchmark tests
1 parent 1ec0408 commit 2f5109a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/benchmark.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Benchmarking and performance tests.
33
"""
44
import pytest
5-
from pluggy import (_MultiCall, _LegacyMultiCall, HookImpl, HookspecMarker,
5+
from pluggy import (_multicall, _legacymulticall, HookImpl, HookspecMarker,
66
HookimplMarker)
77

88
hookspec = HookspecMarker("example")
@@ -44,15 +44,15 @@ def wrappers(request):
4444

4545

4646
@pytest.fixture(
47-
params=[_MultiCall, _LegacyMultiCall],
47+
params=[_multicall, _legacymulticall],
4848
ids=lambda item: item.__name__
4949
)
5050
def callertype(request):
5151
return request.param
5252

5353

5454
def inner_exec(methods, callertype):
55-
return MC(methods, {'arg1': 1, 'arg2': 2, 'arg3': 3}, callertype).execute()
55+
return MC(methods, {'arg1': 1, 'arg2': 2, 'arg3': 3}, callertype)
5656

5757

5858
def test_hook_and_wrappers_speed(benchmark, hooks, wrappers, callertype):

0 commit comments

Comments
 (0)