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 10ec3ed commit aae36ceCopy full SHA for aae36ce
1 file changed
Lib/test/test_capi/test_opt.py
@@ -2952,7 +2952,7 @@ class A:
2952
uops = get_opnames(ex)
2953
self.assertNotIn("_REPLACE_WITH_TRUE", uops)
2954
self.assertIn("_INSERT_1_LOAD_CONST_INLINE_BORROW", uops)
2955
- self.assertIn("_POP_TOP_NOP", uops)
+ self.assertEqual(count_ops(ex, "_POP_TOP_NOP"), 1)
2956
2957
def test_attr_promotion_failure(self):
2958
# We're not testing for any specific uops here, just
0 commit comments