aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test
diff options
context:
space:
mode:
authorDiego Russo <diego.russo@arm.com>2025-05-05 22:31:48 +0100
committerGitHub <noreply@github.com>2025-05-05 14:31:48 -0700
commit9cc77aaf9dce6ffa82786dc77f7f83387c857cad (patch)
treebad9c9571b5d810092e6eab6be6599de4f910aca /Lib/test
parent893034cf939c879cd628c94d1d79b3a5cfb641dd (diff)
downloadcpython-9cc77aaf9dce6ffa82786dc77f7f83387c857cad.tar.gz
cpython-9cc77aaf9dce6ffa82786dc77f7f83387c857cad.zip
GH-131798: Split CALL_LEN into several uops (GH-133180)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_capi/test_opt.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_capi/test_opt.py b/Lib/test/test_capi/test_opt.py
index 7e0c60d5522..ba7bcb4540a 100644
--- a/Lib/test/test_capi/test_opt.py
+++ b/Lib/test/test_capi/test_opt.py
@@ -1919,9 +1919,11 @@ class TestUopsOptimization(unittest.TestCase):
_, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)
uops = get_opnames(ex)
+ self.assertNotIn("_GUARD_NOS_NULL", uops)
+ self.assertNotIn("_GUARD_CALLABLE_LEN", uops)
+ self.assertIn("_CALL_LEN", uops)
self.assertNotIn("_GUARD_NOS_INT", uops)
self.assertNotIn("_GUARD_TOS_INT", uops)
- self.assertIn("_CALL_LEN", uops)
def test_binary_op_subscr_tuple_int(self):
def testfunc(n):