Skip to content

Commit 6d92614

Browse files
committed
fix review idea
Signed-off-by: Manjusaka <[email protected]>
1 parent 6a06aff commit 6d92614

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
@@ -1937,6 +1937,7 @@ def testfunc(n):
19371937
self.assertEqual(int(res), TIER2_THRESHOLD)
19381938
uops = get_opnames(ex)
19391939
self.assertNotIn("_GUARD_NOS_INT", uops)
1940+
self.assertNotIn("_GET_LEN", uops)
19401941
self.assertIn("_LOAD_CONST_INLINE_BORROW", uops)
19411942

19421943
def test_get_len_with_non_const_tuple(self):
@@ -1951,6 +1952,7 @@ def testfunc(n):
19511952
self.assertEqual(int(res), TIER2_THRESHOLD)
19521953
uops = get_opnames(ex)
19531954
self.assertNotIn("_GUARD_NOS_INT", uops)
1955+
self.assertNotIn("_GET_LEN", uops)
19541956
self.assertIn("_LOAD_CONST_INLINE_BORROW", uops)
19551957

19561958
def test_get_len_with_non_tuple(self):

0 commit comments

Comments
 (0)