Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Count _POP_TOP_NOPs in unit tests.
  • Loading branch information
reidenong committed Jan 6, 2026
commit aae36ce1fe75e7f053560e6f96a472de445122d2
2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2952,7 +2952,7 @@ class A:
uops = get_opnames(ex)
self.assertNotIn("_REPLACE_WITH_TRUE", uops)
self.assertIn("_INSERT_1_LOAD_CONST_INLINE_BORROW", uops)
self.assertIn("_POP_TOP_NOP", uops)
self.assertEqual(count_ops(ex, "_POP_TOP_NOP"), 1)

def test_attr_promotion_failure(self):
# We're not testing for any specific uops here, just
Expand Down
Loading