mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
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:
parent
3390dfa8f3
commit
10955353ce
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ def func(): pass
|
||||||
CodeType = type(co)
|
CodeType = type(co)
|
||||||
|
|
||||||
# test code constructor
|
# test code constructor
|
||||||
return CodeType(co.co_argcount,
|
CodeType(co.co_argcount,
|
||||||
co.co_posonlyargcount,
|
co.co_posonlyargcount,
|
||||||
co.co_kwonlyargcount,
|
co.co_kwonlyargcount,
|
||||||
co.co_nlocals,
|
co.co_nlocals,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue