summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2019-03-20-15-13-18.bpo-36366.n0eav_.rst
blob: 8d1f9d940cc61c2e41c6df6901fc295e5ae695aa (plain)
1
2
3
4
Calling ``stop()`` on an unstarted or stopped :func:`unittest.mock.patch`
object will now return `None` instead of raising :exc:`RuntimeError`,
making the method idempotent.
Patch by Karthikeyan Singaravelan.