From 10955353ce25a52741e8f72fdbb6f4b150ee4dc7 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Aug 2021 12:21:06 -0700 Subject: 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 6aaf04c..74cd045 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, -- cgit v0.12