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 0d80af44d9..656c46cfaa 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -241,7 +241,7 @@ class CodeTest(unittest.TestCase):
def func2():
y = 2
return y
- code2 = func.__code__
+ code2 = func2.__code__
for attr, value in (
("co_argcount", 0),