From 347be24b8e4f2d3f23f14e9a46a10fa958cfbd03 Mon Sep 17 00:00:00 2001 From: andrei kulakov Date: Mon, 23 Aug 2021 14:50:46 -0400 Subject: [PATCH] bpo-44980: fix test_constructor to return None value (GH-27898) (cherry picked from commit 27b761a11a14521617a01257eb3767150bec3a74) Co-authored-by: andrei kulakov --- Lib/test/test_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index ac3dde745603db..7d77d7a7bec86c 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py @@ -213,7 +213,7 @@ def func(): pass CodeType = type(co) # test code constructor - return CodeType(co.co_argcount, + CodeType(co.co_argcount, co.co_posonlyargcount, co.co_kwonlyargcount, co.co_nlocals,