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 9c9d136 commit ac6fd7bCopy full SHA for ac6fd7b
Lib/test/test_capi/test_opt.py
@@ -2917,6 +2917,8 @@ def testfunc(n):
2917
self.assertIsNotNone(ex)
2918
uops = get_opnames(ex)
2919
self.assertIn("_BINARY_OP", uops)
2920
+ self.assertIn("_POP_TOP_NOP", uops)
2921
+ self.assertLessEqual(count_ops(ex, "_POP_TOP"), 2)
2922
2923
def test_binary_op_extend_float_long_add_refcount_elimination(self):
2924
def testfunc(n):
@@ -2932,6 +2934,8 @@ def testfunc(n):
2932
2934
2933
2935
2936
self.assertIn("_BINARY_OP_EXTEND", uops)
2937
2938
2939
2940
def test_remove_guard_for_slice_list(self):
2941
def f(n):
0 commit comments