Skip to content

Conversation

@tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Dec 7, 2020

Check if NonCallableMock's spec_arg is not None instead of call its bool function
(cherry picked from commit c598a04)

Co-authored-by: idanw206 31290383+idanw206@users.noreply.github.com

https://bugs.python.org/issue42532

…ead of call its __bool__ function (GH23613)

Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function
(cherry picked from commit c598a04)

Co-authored-by: idanw206 <31290383+idanw206@users.noreply.github.com>
@idanw206
Copy link
Contributor

idanw206 commented Dec 7, 2020

Thanks for the backport! Looking forward for this to be released!

@idanw206
Copy link
Contributor

@tirkarthi @cjw296 Can one of you guys merge it? Thanks!

@tirkarthi tirkarthi merged commit 14f2a12 into python:3.9 Dec 14, 2020
@tirkarthi tirkarthi deleted the backport-c598a04-3.9 branch December 14, 2020 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants