[New-bugs-announce] [issue28848] Add CopyingMock to mock.py

wim glenn report at bugs.python.org
Thu Dec 1 00:43:38 EST 2016


New submission from wim glenn:

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.

----------
components: Library (Lib)
messages: 282136
nosy: wim.glenn
priority: normal
severity: normal
status: open
title: Add CopyingMock to mock.py
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28848>
_______________________________________


More information about the New-bugs-announce mailing list