8000 bpo-44980: fix test_constructor to return None value (GH-27898) · python/cpython@27b761a · GitHub
[go: up one dir, main page]

Skip to content

Commit 27b761a

Browse files
authored
bpo-44980: fix test_constructor to return None value (GH-27898)
1 parent 08830a4 commit 27b761a

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
@@ -212,7 +212,7 @@ def func(): pass
212212
CodeType = type(co)
213213

214214
# test code constructor
215-
return CodeType(co.co_argcount,
215+
CodeType(co.co_argcount,
216216
co.co_posonlyargcount,
217217
co.co_kwonlyargcount,
218218
co.co_nlocals,

0 commit comments

Comments
 (0)
0