[Python-checkins] bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914)
ambv
webhook-mailer at python.org
Mon Aug 23 15:20:34 EDT 2021
https://github.com/python/cpython/commit/de49eacee85dbd56bfa261200604766ca6042d66
commit: de49eacee85dbd56bfa261200604766ca6042d66
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-08-23T21:20:29+02:00
summary:
bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914)
(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 ac3dde745603d..7d77d7a7bec86 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