diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-01-04 10:37:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 10:37:12 +0000 |
commit | a94461d7189d7f1147ab304a332c8684263dc17e (patch) | |
tree | bda2df4f74cc58205d548dce76337260984962fd /Lib/test/test_code.py | |
parent | a09062c267a94200ad299f779429fea1b571ee35 (diff) | |
download | cpython-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.py | 4 |
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) ] ) |