summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrei kulakov <andrei.avk@gmail.com>2021-08-23 18:50:46 (GMT)
committerGitHub <noreply@github.com>2021-08-23 18:50:46 (GMT)
commit27b761a11a14521617a01257eb3767150bec3a74 (patch)
tree726d55304e288bc90db51c6f47b544f25f4ecd64
parent08830a4f75553682e8d1ea6cdabd4c3472c59e28 (diff)
downloadcpython-27b761a11a14521617a01257eb3767150bec3a74.zip
cpython-27b761a11a14521617a01257eb3767150bec3a74.tar.gz
cpython-27b761a11a14521617a01257eb3767150bec3a74.tar.bz2
bpo-44980: fix test_constructor to return None value (GH-27898)
-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 9d6b465..66c84a9 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -212,7 +212,7 @@ class CodeTest(unittest.TestCase):
CodeType = type(co)
# test code constructor
- return CodeType(co.co_argcount,
+ CodeType(co.co_argcount,
co.co_posonlyargcount,
co.co_kwonlyargcount,
co.co_nlocals,