mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914)
(cherry picked from commit 27b761a11a
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
This commit is contained in:
parent
b0df288c94
commit
de49eacee8
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class CodeTest(unittest.TestCase):
|
||||||
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