https://github.com/python/cpython/commit/14c5339a389a1161da4521d4c41236acb448baad commit: 14c5339a389a1161da4521d4c41236acb448baad branch: main author: Yongtao Huang <[email protected]> committer: Fidget-Spinner <[email protected]> date: 2026-01-29T17:08:14Z summary:
Test: fix stale uops usage in `test_capi/test_opt.py` (GH-144239) Signed-off-by: Yongtao Huang <[email protected]> files: M Lib/test/test_capi/test_opt.py diff --git a/Lib/test/test_capi/test_opt.py b/Lib/test/test_capi/test_opt.py index 7808700f6a2346..a379d1be2f9bd3 100644 --- a/Lib/test/test_capi/test_opt.py +++ b/Lib/test/test_capi/test_opt.py @@ -3750,6 +3750,7 @@ def test_is_none(n): res, ex = self._run_with_optimizer(test_is_none, TIER2_THRESHOLD) self.assertEqual(res, True) self.assertIsNotNone(ex) + uops = get_opnames(ex) self.assertIn("_IS_OP", uops) self.assertIn("_POP_TOP_NOP", uops) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
