Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.
3 files changed