File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2278,7 +2278,7 @@ def test_pure_uop_body_copied_in(self):
22782278 /* Start of pure uop copied from bytecodes for constant evaluation */
22792279 res_stackref = body(foo);
22802280 /* End of pure uop copied from bytecodes for constant evaluation */
2281- res = sym_new_const_steal(ctx, PyStackRef_AsPyObjectBorrow (res_stackref));
2281+ res = sym_new_const_steal(ctx, PyStackRef_AsPyObjectSteal (res_stackref));
22822282 stack_pointer[-1] = res;
22832283 }
22842284 else {
@@ -2325,7 +2325,7 @@ def test_pure_uop_body_copied_in_complex(self):
23252325 res_stackref = 1;
23262326 }
23272327 /* End of pure uop copied from bytecodes for constant evaluation */
2328- res = sym_new_const_steal(ctx, PyStackRef_AsPyObjectBorrow (res_stackref));
2328+ res = sym_new_const_steal(ctx, PyStackRef_AsPyObjectSteal (res_stackref));
23292329 stack_pointer[-1] = res;
23302330 }
23312331 else {
You can’t perform that action at this time.
0 commit comments