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>
1 file changed