We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c401539 commit 619a846Copy full SHA for 619a846
Lib/test/test_capi/test_opt.py
@@ -1925,7 +1925,7 @@ def testfunc(n):
1925
self.assertNotIn("_GUARD_NOS_INT", uops)
1926
self.assertNotIn("_GUARD_TOS_INT", uops)
1927
1928
- def test_get_len(self):
+ def test_get_len_with_tuple(self):
1929
def testfunc(n):
1930
x = ""
1931
for _ in range(n):
@@ -1939,6 +1939,9 @@ def testfunc(n):
1939
1940
self.assertIn("_GET_LEN", uops)
1941
self.assertIn("_POP_TOP_LOAD_CONST_INLINE_BORROW", uops)
1942
+
1943
1944
+ def test_get_len_with_non_tuple(self):
1945
1946
1947
0 commit comments