We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc9664 commit 72cfa30Copy full SHA for 72cfa30
1 file changed
Misc/NEWS.d/next/Library/2024-06-10-14-00-40.gh-issue-119600.jJMf4C.rst
@@ -0,0 +1,2 @@
1
+Fix :func:`unittest.mock.patch` to not read attributes of the target when
2
+``new_callable`` is set. Patch by Robert Collins.
0 commit comments