Skip to content

Commit

Permalink
bpo-44980: fix test_constructor to return None value (GH-27898)
Browse files Browse the repository at this point in the history
  • Loading branch information
akulakov committed Aug 23, 2021
1 parent 08830a4 commit 27b761a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,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,
Expand Down

0 comments on commit 27b761a

Please sign in to comment.