Skip to content

Commit 8f860c9

Browse files
improve test
1 parent 65cae76 commit 8f860c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,6 +3030,8 @@ def f(n):
30303030
self.assertEqual(res, TIER2_THRESHOLD)
30313031
uops = get_opnames(ex)
30323032
self.assertNotIn("_LOAD_ATTR_METHOD_NO_DICT", uops)
3033+
self.assertNotIn("_LOAD_CONST_UNDER_INLINE", uops)
3034+
self.assertIn("_LOAD_CONST_UNDER_INLINE_BORROW", uops)
30333035

30343036
def test_store_fast_refcount_elimination(self):
30353037
def foo(x):

0 commit comments

Comments
 (0)