From 0b59dfb94a670c79f637b5bbf08e7fcc4e3af7e7 Mon Sep 17 00:00:00 2001 From: wangyu <53896905+yenuo26@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:15:32 +0800 Subject: [PATCH] [Bugfix] Fix pytest 9.1.0 duplicate parametrization in run_benchmark.py (#4784) Signed-off-by: wangyu <410167048@qq.com> --- tests/dfx/perf/scripts/run_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dfx/perf/scripts/run_benchmark.py b/tests/dfx/perf/scripts/run_benchmark.py index 7ca376323..13329a209 100644 --- a/tests/dfx/perf/scripts/run_benchmark.py +++ b/tests/dfx/perf/scripts/run_benchmark.py @@ -94,7 +94,7 @@ def omni_server(request): benchmark_indices = create_benchmark_indices(BENCHMARK_CONFIGS, server_to_benchmark_mapping) -@pytest.fixture(params=benchmark_indices) +@pytest.fixture def benchmark_params(request, omni_server): """Benchmark parameters fixture with proper parametrization""" test_name, param_index = request.param