From b77cb3c15fbf5bfb0e8b474e5aed4c9b7bcb9b35 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Fri, 13 Sep 2024 10:21:15 +0100 Subject: [PATCH] ci: fix benchmarks build --- pyo3-benches/benches/bench_call.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyo3-benches/benches/bench_call.rs b/pyo3-benches/benches/bench_call.rs index 55ebd67e8de..b4572ddf121 100644 --- a/pyo3-benches/benches/bench_call.rs +++ b/pyo3-benches/benches/bench_call.rs @@ -55,7 +55,7 @@ fn bench_call(b: &mut Bencher<'_>) { <_ as IntoPy>::into_py("s", py).into_bound(py), <_ as IntoPy>::into_py(1.23, py).into_bound(py), ); - let kwargs = [("d", 1), ("e", 42)].into_py_dict(py); + let kwargs = [("d", 1), ("e", 42)].into_py_dict_bound(py); b.iter(|| { for _ in 0..1000 { @@ -148,7 +148,7 @@ class Foo: <_ as IntoPy>::into_py("s", py).into_bound(py), <_ as IntoPy>::into_py(1.23, py).into_bound(py), ); - let kwargs = [("d", 1), ("e", 42)].into_py_dict(py); + let kwargs = [("d", 1), ("e", 42)].into_py_dict_bound(py); b.iter(|| { for _ in 0..1000 {