Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.9] bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function (GH-23613)#23676

Merged
tirkarthi merged 1 commit into
python:3.9python/cpython:3.9from
tirkarthi:backport-c598a04-3.9tirkarthi/cpython:backport-c598a04-3.9Copy head branch name to clipboard
Dec 14, 2020
Merged

[3.9] bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function (GH-23613)#23676
tirkarthi merged 1 commit into
python:3.9python/cpython:3.9from
tirkarthi:backport-c598a04-3.9tirkarthi/cpython:backport-c598a04-3.9Copy head branch name to clipboard

Conversation

@tirkarthi

@tirkarthi tirkarthi commented Dec 7, 2020

Copy link
Copy Markdown
Member

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

idanw206 commented Dec 7, 2020

Copy link
Copy Markdown
Contributor

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

@idanw206

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.