summaryrefslogtreecommitdiff
path: root/Lib/test/test__opcode.py
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2022-01-26 12:47:45 -0800
committerGitHub <noreply@github.com>2022-01-26 12:47:45 -0800
commit85483668647e7840c7b9a1877caaf2ef14a4443f (patch)
tree48c1ba3dc17fb6c39d100e114178e1cc9ca19e88 /Lib/test/test__opcode.py
parentd4a85f104bf9d2e368f25c9a567eaaa2cc39a96a (diff)
downloadcpython-git-85483668647e7840c7b9a1877caaf2ef14a4443f.tar.gz
bpo-46528: Simplify the VM's stack manipulations (GH-30902)
Diffstat (limited to 'Lib/test/test__opcode.py')
-rw-r--r--Lib/test/test__opcode.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test__opcode.py b/Lib/test/test__opcode.py
index f6b6b3d353..7c1c0cfdb0 100644
--- a/Lib/test/test__opcode.py
+++ b/Lib/test/test__opcode.py
@@ -11,7 +11,6 @@ class OpcodeTests(unittest.TestCase):
def test_stack_effect(self):
self.assertEqual(stack_effect(dis.opmap['POP_TOP']), -1)
- self.assertEqual(stack_effect(dis.opmap['DUP_TOP_TWO']), 2)
self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 0), -1)
self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 1), -1)
self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 3), -2)