summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_embed.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-08-16 22:25:18 (GMT)
committerGitHub <noreply@github.com>2023-08-16 22:25:18 (GMT)
commit665a4391e10167dad1c854fb604c86f336fcd331 (patch)
treee1d55069486dd67e6857a13fafc12b6e865cacf7 /Lib/test/test_embed.py
parente88eb3775ecdcb3af6c6d694a935b7fa5f41e5ce (diff)
downloadcpython-665a4391e10167dad1c854fb604c86f336fcd331.zip
cpython-665a4391e10167dad1c854fb604c86f336fcd331.tar.gz
cpython-665a4391e10167dad1c854fb604c86f336fcd331.tar.bz2
gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py (#107971)
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r--Lib/test/test_embed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index 582392e..50c9f61 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -361,7 +361,7 @@ class EmbeddingTests(EmbeddingTestsMixin, unittest.TestCase):
for instruction in dis.get_instructions(f, adaptive=True):
opname = instruction.opname
if (
- opname in opcode._specialized_instructions
+ opname in opcode._specialized_opmap
# Exclude superinstructions:
and "__" not in opname
):