Skip to content

Commit de49eac

Browse files
bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914)
(cherry picked from commit 27b761a) Co-authored-by: andrei kulakov <[email protected]>
1 parent b0df288 commit de49eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def func(): pass
213213
CodeType = type(co)
214214

215215
# test code constructor
216-
return CodeType(co.co_argcount,
216+
CodeType(co.co_argcount,
217217
co.co_posonlyargcount,
218218
co.co_kwonlyargcount,
219219
co.co_nlocals,

0 commit comments

Comments
 (0)