summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-23 19:20:29 (GMT)
committerGitHub <noreply@github.com>2021-08-23 19:20:29 (GMT)
commitde49eacee85dbd56bfa261200604766ca6042d66 (patch)
tree4bf64ef1812ca2c5cfdd9eed416eefa66b2010e4 /Lib
parentb0df288c946143352237f28c78481d935ba1502c (diff)
downloadcpython-de49eacee85dbd56bfa261200604766ca6042d66.zip
cpython-de49eacee85dbd56bfa261200604766ca6042d66.tar.gz
cpython-de49eacee85dbd56bfa261200604766ca6042d66.tar.bz2
bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914)
(cherry picked from commit 27b761a11a14521617a01257eb3767150bec3a74) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Diffstat (limited to 'Lib')
-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 ac3dde7..7d77d7a 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -213,7 +213,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,