Message277975
If it's true that our ability to accurately deep-copy mutable args makes fixing this behavior impossible, we should at the very least update the official unittest.mock documentation to warn users that testing for mock calls with mutable arguments is not reliable; i.e. make it clear that we're storing a reference to the arguments and not just the values. If it's not a bug, it's certainly a limitation that deserves as much mention as possible. |
|
Date |
User |
Action |
Args |
2016-10-03 18:17:39 | Guillaume Chorn | set | recipients:
+ Guillaume Chorn, rbcollins, r.david.murray, michael.foord |
2016-10-03 18:17:39 | Guillaume Chorn | set | messageid: <1475518659.41.0.343405848976.issue28318@psf.upfronthosting.co.za> |
2016-10-03 18:17:39 | Guillaume Chorn | link | issue28318 messages |
2016-10-03 18:17:39 | Guillaume Chorn | create | |
|