summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_code.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2019-11-19 19:45:20 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-19 19:45:20 (GMT)
commit892221bfa04a41cf581f988ba19dc263f557e157 (patch)
tree3961cf2084befe960fd1171381564886cb4a913c /Lib/test/test_code.py
parent54b32c987146123f2237f0e21b1d02b1c1ebdf6f (diff)
downloadcpython-892221bfa04a41cf581f988ba19dc263f557e157.zip
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.gz
cpython-892221bfa04a41cf581f988ba19dc263f557e157.tar.bz2
bpo-38839: Fix some unused functions in tests (GH-17189)
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 0d80af4..656c46c 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),