Skip to content

Commit 56c3f86

Browse files
fix tests
1 parent 5eee3d7 commit 56c3f86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_opcache.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def instantiate():
589589
# Trigger specialization
590590
for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD):
591591
instantiate()
592-
self.assert_specialized(instantiate, "CALL_FUNCTION_EX_PY")
592+
self.assert_specialized(instantiate, "CALL_EX_PY")
593593

594594
@requires_jit_disabled
595595
@requires_specialization_ft
@@ -606,8 +606,8 @@ def instantiate():
606606
# Trigger specialization
607607
for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD):
608608
instantiate()
609-
self.assert_no_opcode(instantiate, "CALL_FUNCTION_EX_PY")
610-
self.assert_specialized(instantiate, "CALL_FUNCTION_EX_NON_PY_GENERAL")
609+
self.assert_no_opcode(instantiate, "CALL_EX_PY")
610+
self.assert_specialized(instantiate, "CALL_EX_NON_PY_GENERAL")
611611

612612
def make_deferred_ref_count_obj():
613613
"""Create an object that uses deferred reference counting.

0 commit comments

Comments
 (0)