From: andrei kulakov Date: Mon, 23 Aug 2021 18:50:46 +0000 (-0400) Subject: bpo-44980: fix test_constructor to return None value (GH-27898) X-Git-Tag: v3.11.0a1~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27b761a11a14521617a01257eb3767150bec3a74;p=thirdparty%2FPython%2Fcpython.git bpo-44980: fix test_constructor to return None value (GH-27898) --- diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 9d6b465115ca..66c84a953cb3 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,