Skip to content

Commit 05b822f

Browse files
fix test
1 parent ac7e343 commit 05b822f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_generated_cases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)