summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__opcode.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2025-02-07 22:39:54 (GMT)
committerGitHub <noreply@github.com>2025-02-07 22:39:54 (GMT)
commita1417b211f0bb9582b00f7b82d0a43a3bcc9ed05 (patch)
tree1133960d5abf1077cbf974bcde2ecb90b9fc1b7c /Lib/test/test__opcode.py
parent2248a9c153092b920ff68b0eee009c04dbe19f61 (diff)
downloadcpython-a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05.zip
cpython-a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05.tar.gz
cpython-a1417b211f0bb9582b00f7b82d0a43a3bcc9ed05.tar.bz2
gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700)
Diffstat (limited to 'Lib/test/test__opcode.py')
-rw-r--r--Lib/test/test__opcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__opcode.py b/Lib/test/test__opcode.py
index 4b11e83..c253bc2 100644
--- a/Lib/test/test__opcode.py
+++ b/Lib/test/test__opcode.py
@@ -123,7 +123,7 @@ class SpecializationStatsTests(unittest.TestCase):
if opcode._inline_cache_entries.get(op, 0)
]
self.assertIn('load_attr', specialized_opcodes)
- self.assertIn('binary_subscr', specialized_opcodes)
+ self.assertIn('binary_op', specialized_opcodes)
stats = _opcode.get_specialization_stats()
if stats is not None: