bpo-44980: fix test_constructor to return None value (GH-27898)

(cherry picked from commit 27b761a11a)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-08-23 12:21:06 -07:00 committed by GitHub
parent 3390dfa8f3
commit 10955353ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,