[Python-checkins] bpo-44980: fix test_constructor to return None value (GH-27898)
miss-islington
webhook-mailer at python.org
Mon Aug 23 15:21:11 EDT 2021
https://github.com/python/cpython/commit/10955353ce25a52741e8f72fdbb6f4b150ee4dc7
commit: 10955353ce25a52741e8f72fdbb6f4b150ee4dc7
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-08-23T12:21:06-07:00
summary:
bpo-44980: fix test_constructor to return None value (GH-27898)
(cherry picked from commit 27b761a11a14521617a01257eb3767150bec3a74)
Co-authored-by: andrei kulakov <andrei.avk at gmail.com>
files:
M Lib/test/test_code.py
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py
index 6aaf04ca6dde5..74cd0458a5108 100644
--- a/Lib/test/test_code.py
+++ b/Lib/test/test_code.py
@@ -213,7 +213,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,
More information about the Python-checkins
mailing list