summaryrefslogtreecommitdiff
path: root/Lib/test/test_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_code.py')
-rw-r--r--Lib/test/test_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py
index ac3dde7456..467e8e5e33 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -258,7 +258,7 @@ class CodeTest(unittest.TestCase):
("co_cellvars", ("cellvar",)),
("co_filename", "newfilename"),
("co_name", "newname"),
- ("co_lnotab", code2.co_lnotab),
+ ("co_linetable", code2.co_linetable),
):
with self.subTest(attr=attr, value=value):
new_code = code.replace(**{attr: value})