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 wim.glenn
Recipients wim.glenn
Date 2016-12-01.05:43:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480571018.23.0.434543002887.issue28848@psf.upfronthosting.co.za>
In-reply-to
Content
Would people be interested to consider adding the CopyingMock example shown in the documentation section "coping with mutable arguments" into the mock module?

https://docs.python.org/3/library/unittest.mock-examples.html#coping-with-mutable-arguments 

It seems like a useful and simple enough feature to add.
History
Date User Action Args
2016-12-01 05:43:38wim.glennsetrecipients: + wim.glenn
2016-12-01 05:43:38wim.glennsetmessageid: <1480571018.23.0.434543002887.issue28848@psf.upfronthosting.co.za>
2016-12-01 05:43:38wim.glennlinkissue28848 messages
2016-12-01 05:43:37wim.glenncreate