Skip to content

Commit 619a846

Browse files
committed
fix review idea
Signed-off-by: Manjusaka <[email protected]>
1 parent c401539 commit 619a846

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@ def testfunc(n):
19251925
self.assertNotIn("_GUARD_NOS_INT", uops)
19261926
self.assertNotIn("_GUARD_TOS_INT", uops)
19271927

1928-
def test_get_len(self):
1928+
def test_get_len_with_tuple(self):
19291929
def testfunc(n):
19301930
x = ""
19311931
for _ in range(n):
@@ -1939,6 +1939,9 @@ def testfunc(n):
19391939
self.assertNotIn("_GUARD_NOS_INT", uops)
19401940
self.assertIn("_GET_LEN", uops)
19411941
self.assertIn("_POP_TOP_LOAD_CONST_INLINE_BORROW", uops)
1942+
1943+
1944+
def test_get_len_with_non_tuple(self):
19421945
def testfunc(n):
19431946
x = ""
19441947
for _ in range(n):

0 commit comments

Comments
 (0)