Skip to content

Commit 1b9c6d4

Browse files
Update Misc/NEWS.d/next/Library/2024-11-10-18-14-51.gh-issue-104745.zAa5Ke.rst
Co-authored-by: Peter Bierma <[email protected]>
1 parent f78011f commit 1b9c6d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
Limit starting a patcher (from :func:`unittest.mock.patch`,
2-
:func:`unittest.mock.patch.object` or :func:`unittest.mock.dict`) more than
3-
once without stopping it. Previously, this would cause an
4-
:exc:`AttributeError` if the patch stopped more than once after this, and
5-
would also disrupt the original patched object.
2+
:func:`unittest.mock.patch.object` or :func:`unittest.mock.patch.dict`) more than
3+
once without stopping it.

0 commit comments

Comments
 (0)