Skip to content

Commit 2dc1bd9

Browse files
committed
Update test and remove news entry
1 parent 4f64109 commit 2dc1bd9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_capi/test_opt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,7 @@ def testfunc(n):
28982898
self.assertIsNotNone(ex)
28992899
uops = get_opnames(ex)
29002900
self.assertIn(("_LOAD_ATTR_MODULE", "_POP_TOP_NOP"), itertools.pairwise(uops))
2901+
self.assertLessEqual(count_ops(ex, "_POP_TOP"), 2)
29012902

29022903
def test_load_attr_with_hint(self):
29032904
def testfunc(n):

Misc/NEWS.d/next/Core_and_Builtins/2026-01-18-22-19-52.gh-issue-143996.s1Otj-.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)