This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Eli_B
Recipients Eli_B, hmvp, michael.foord, xtreak
Date 2018-11-30.00:52:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543539146.98.0.788709270274.issue31177@psf.upfronthosting.co.za>
In-reply-to
Content
I suggest that after reset_mock(), deleted attributes should be available again. In other words, their deletion is reset.

I'm opening a PR to this effect.

I reported this issue to testing-cabal's mock repo in May 2016 (https://github.com/testing-cabal/mock/pull/361), but my original PR there just avoided an exception without reinstating the deleted attribute.
History
Date User Action Args
2018-11-30 00:52:27Eli_Bsetrecipients: + Eli_B, michael.foord, hmvp, xtreak
2018-11-30 00:52:26Eli_Bsetmessageid: <1543539146.98.0.788709270274.issue31177@psf.upfronthosting.co.za>
2018-11-30 00:52:26Eli_Blinkissue31177 messages
2018-11-30 00:52:26Eli_Bcreate