diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-23 19:21:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 19:21:06 (GMT) |
commit | 10955353ce25a52741e8f72fdbb6f4b150ee4dc7 (patch) | |
tree | aa383edb8803aba87b6e77e7efd9b78fea22ad23 | |
parent | 3390dfa8f36105e578a43720d03849371b3dec83 (diff) | |
download | cpython-10955353ce25a52741e8f72fdbb6f4b150ee4dc7.zip cpython-10955353ce25a52741e8f72fdbb6f4b150ee4dc7.tar.gz cpython-10955353ce25a52741e8f72fdbb6f4b150ee4dc7.tar.bz2 |
bpo-44980: fix test_constructor to return None value (GH-27898)
(cherry picked from commit 27b761a11a14521617a01257eb3767150bec3a74)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
-rw-r--r-- | Lib/test/test_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 6aaf04c..74cd045 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py @@ -213,7 +213,7 @@ class CodeTest(unittest.TestCase): CodeType = type(co) # test code constructor - return CodeType(co.co_argcount, + CodeType(co.co_argcount, co.co_posonlyargcount, co.co_kwonlyargcount, co.co_nlocals, |