Skip to content

Commit b77cb3c

Browse files
committed
ci: fix benchmarks build
1 parent 7f048f1 commit b77cb3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyo3-benches/benches/bench_call.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn bench_call(b: &mut Bencher<'_>) {
5555
<_ as IntoPy<PyObject>>::into_py("s", py).into_bound(py),
5656
<_ as IntoPy<PyObject>>::into_py(1.23, py).into_bound(py),
5757
);
58-
let kwargs = [("d", 1), ("e", 42)].into_py_dict(py);
58+
let kwargs = [("d", 1), ("e", 42)].into_py_dict_bound(py);
5959

6060
b.iter(|| {
6161
for _ in 0..1000 {
@@ -148,7 +148,7 @@ class Foo:
148148
<_ as IntoPy<PyObject>>::into_py("s", py).into_bound(py),
149149
<_ as IntoPy<PyObject>>::into_py(1.23, py).into_bound(py),
150150
);
151-
let kwargs = [("d", 1), ("e", 42)].into_py_dict(py);
151+
let kwargs = [("d", 1), ("e", 42)].into_py_dict_bound(py);
152152

153153
b.iter(|| {
154154
for _ in 0..1000 {

0 commit comments

Comments
 (0)