mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
bpo-44980: fix test_constructor to return None value (GH-27898)
This commit is contained in:
parent
08830a4f75
commit
27b761a11a
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue