Skip to content

Commit d3b40aa

Browse files
idanw206mariocj89
andauthored
Update Misc/NEWS.d/next/Library/2020-12-02-07-37-59.bpo-42532.ObNep_.rst
Co-authored-by: Mario Corchero <mariocj89@gmail.com>
1 parent 81e35b9 commit d3b40aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Check if NonCallableMock.__new__'s spec_arg is not None instead of calling its __bool__ function
1+
Remove unexpected call of ``__bool__`` when passing a ``spec_arg`` argument to a Mock.

0 commit comments

Comments
 (0)