aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_code.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-01-04 10:37:12 +0000
committerGitHub <noreply@github.com>2022-01-04 10:37:12 +0000
commita94461d7189d7f1147ab304a332c8684263dc17e (patch)
treebda2df4f74cc58205d548dce76337260984962fd /Lib/test/test_code.py
parenta09062c267a94200ad299f779429fea1b571ee35 (diff)
downloadcpython-a94461d7189d7f1147ab304a332c8684263dc17e.tar.gz
cpython-a94461d7189d7f1147ab304a332c8684263dc17e.zip
bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302)
* bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy
Diffstat (limited to 'Lib/test/test_code.py')
-rw-r--r--Lib/test/test_code.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py
index b42213bde07..88f6c782a68 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -383,7 +383,9 @@ class CodeTest(unittest.TestCase):
("STORE_NAME", "e"), # XX: we know the location for this
("DELETE_NAME", "e"),
("RERAISE", 1),
- ("POP_EXCEPT_AND_RERAISE", None)
+ ("COPY", 3),
+ ("POP_EXCEPT", None),
+ ("RERAISE", 1)
]
)