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 c481698 commit 37064ecCopy full SHA for 37064ec
Lib/test/test_capi/test_opt.py
@@ -3225,8 +3225,8 @@ def testfunc(n):
3225
assert "_LOAD_GLOBAL_BUILTIN" not in uops
3226
assert "_LOAD_CONST_INLINE_BORROW" in uops
3227
assert "_POP_TOP_NOP" in uops
3228
- pop_top_count = [opname for opname in ex if opname == "_POP_TOP" ]
3229
- assert len(pop_top_count) <= 2
+ pop_top_count = len([opname for opname in ex if opname == "_POP_TOP" ])
+ assert pop_top_count <= 2
3230
"""), PYTHON_JIT="1")
3231
self.assertEqual(result[0].rc, 0, result)
3232
0 commit comments