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 xtreak
Recipients ezio.melotti, michael.foord, rbcollins, slacknate, xtreak
Date 2018-09-24.15:38:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537803508.53.0.956365154283.issue33309@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the details. As part of triaging I am closing this as not a bug since passing mutable  arguments to a mock object and modifying it is a documented behavior at https://docs.python.org/3/library/unittest.mock-examples.html#coping-with-mutable-arguments . Feel free to reopen this if needed.

Thanks
History
Date User Action Args
2018-09-24 15:38:28xtreaksetrecipients: + xtreak, rbcollins, ezio.melotti, michael.foord, slacknate
2018-09-24 15:38:28xtreaksetmessageid: <1537803508.53.0.956365154283.issue33309@psf.upfronthosting.co.za>
2018-09-24 15:38:28xtreaklinkissue33309 messages
2018-09-24 15:38:28xtreakcreate