summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_code.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-07-05 12:38:44 (GMT)
committerGitHub <noreply@github.com>2022-07-05 12:38:44 (GMT)
commit324d01944d16868b07df9e8eef6987766a31a36d (patch)
tree8162971b60cfa1d724a1c87d7913cf6c2170081a /Lib/test/test_code.py
parenta2a3f2c541290fc8f0720d1abdc12d564b856c28 (diff)
downloadcpython-324d01944d16868b07df9e8eef6987766a31a36d.zip
cpython-324d01944d16868b07df9e8eef6987766a31a36d.tar.gz
cpython-324d01944d16868b07df9e8eef6987766a31a36d.tar.bz2
gh-94485: Set line number of module's RESUME instruction to 0, as specified by PEP 626 (GH-94552)
Co-authored-by: Mark Shannon <mark@hotpy.org>
Diffstat (limited to 'Lib/test/test_code.py')
-rw-r--r--Lib/test/test_code.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py
index 308141a..fd68f6d 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -376,7 +376,6 @@ class CodeTest(unittest.TestCase):
for instruction in artificial_instructions
],
[
- ('RESUME', 0),
("PUSH_EXC_INFO", None),
("LOAD_CONST", None), # artificial 'None'
("STORE_NAME", "e"), # XX: we know the location for this